Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 103.2 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 64.42 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3109, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7093/1.02, allocations: 189.7 MB / 1.203 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008079/1.028, allocations: 4.278 MB / 1.207 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.03, allocations: 26.88 kB / 1.207 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/1.031, allocations: 0.4951 MB / 1.208 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/1.036, allocations: 1.567 MB / 1.209 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/1.04, allocations: 1.327 MB / 1.211 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003059/1.043, allocations: 2.248 MB / 1.213 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/1.045, allocations: 1.086 MB / 1.214 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/1.047, allocations: 0.9503 MB / 1.215 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/1.048, allocations: 0.8704 MB / 1.216 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004199/1.049, allocations: 138.2 kB / 1.216 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/1.052, allocations: 1.239 MB / 1.217 GB, free: 11.95 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000725/1.052, allocations: 420.7 kB / 1.218 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/1.054, allocations: 0.6459 MB / 1.218 GB, free: 11.15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/1.057, allocations: 1.954 MB / 1.22 GB, free: 9.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.057, allocations: 3.031 kB / 1.22 GB, free: 9.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.416e-06/1.057, allocations: 0 / 1.22 GB, free: 9.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.905e-05/1.057, allocations: 7.938 kB / 1.22 GB, free: 9.77 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005106/1.062, allocations: 1.719 MB / 1.222 GB, free: 8.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.062, allocations: 10.06 kB / 1.222 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/1.063, allocations: 179.5 kB / 1.222 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/1.065, allocations: 1.038 MB / 1.223 GB, free: 7.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.065, allocations: 56.92 kB / 1.223 GB, free: 7.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.065, allocations: 63.88 kB / 1.223 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.067, allocations: 0.6115 MB / 1.224 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.067, allocations: 0.75 kB / 1.224 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/1.067, allocations: 24 kB / 1.224 GB, free: 6.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/1.067, allocations: 17 kB / 1.224 GB, free: 6.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.068, allocations: 0.6207 MB / 1.224 GB, free: 6.125 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/1.073, allocations: 2.673 MB / 1.227 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.074, allocations: 0.5411 MB / 1.227 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/1.075, allocations: 353.9 kB / 1.228 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/1.075, allocations: 299.2 kB / 1.228 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.076, allocations: 38.19 kB / 1.228 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007966/1.076, allocations: 147.4 kB / 1.228 GB, free: 1.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 3.878e-06/1.076, allocations: 0 / 1.228 GB, free: 1.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.00271/1.079, allocations: 1.015 MB / 1.229 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.079, allocations: 55.41 kB / 1.229 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.082, allocations: 1.267 MB / 1.231 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.082, allocations: 41.7 kB / 1.231 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/1.082, allocations: 441.7 kB / 1.231 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/1.082, allocations: 149.7 kB / 1.231 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.083, allocations: 114 kB / 1.231 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.083, allocations: 322 kB / 1.232 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/1.083, allocations: 270.2 kB / 1.232 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/1.084, allocations: 493.9 kB / 1.232 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.086, allocations: 0.5869 MB / 1.233 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.086, allocations: 3.938 kB / 1.233 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0018/1.088, allocations: 0.7301 MB / 1.234 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.088, allocations: 8 kB / 1.234 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.088, allocations: 1.094 kB / 1.234 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.088, allocations: 0 / 1.234 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/1.088, allocations: 127.8 kB / 1.234 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.088, allocations: 4 kB / 1.234 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.09, allocations: 87.89 kB / 1.234 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.761e-05/1.09, allocations: 23.97 kB / 1.234 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009251/1.091, allocations: 468.1 kB / 1.234 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008412/1.092, allocations: 490 kB / 1.235 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001252/1.093, allocations: 0.585 MB / 1.235 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/1.093, allocations: 0 / 1.235 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001806/1.095, allocations: 0.742 MB / 1.236 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.095, allocations: 8 kB / 1.236 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.095, allocations: 0 / 1.236 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/1.095, allocations: 4 kB / 1.236 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/1.095, allocations: 115.8 kB / 1.236 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/1.095, allocations: 4 kB / 1.236 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.097, allocations: 132.2 kB / 1.236 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/1.097, allocations: 23.97 kB / 1.236 GB, free: 9.395 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002464/1.097, allocations: 212.1 kB / 1.236 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/1.098, allocations: 110.7 kB / 1.237 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/1.1, allocations: 0.7993 MB / 1.237 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.1, allocations: 4 kB / 1.237 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.1, allocations: 4 kB / 1.237 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.1, allocations: 3.984 kB / 1.237 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/1.103, allocations: 1.949 MB / 1.239 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.103, allocations: 4 kB / 1.239 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/1.104, allocations: 107.9 kB / 1.239 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.104, allocations: 4 kB / 1.239 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/1.104, allocations: 20.56 kB / 1.239 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/1.104, allocations: 8.219 kB / 1.239 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.104, allocations: 7.984 kB / 1.239 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.106, allocations: 1.228 MB / 1.241 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/1.107, allocations: 291.6 kB / 1.241 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/1.107, allocations: 20.44 kB / 1.241 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.109, allocations: 63.97 kB / 1.241 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.109, allocations: 35.95 kB / 1.241 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/1.109, allocations: 16.88 kB / 1.241 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00181/1.111, allocations: 0.9247 MB / 1.242 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.4e-07/1.111, allocations: 4 kB / 1.242 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001627/1.112, allocations: 403.4 kB / 1.242 GB, free: 3.035 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00065/1.113, allocations: 220.6 kB / 1.243 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002482/1.115, allocations: 0.9865 MB / 1.244 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.115, allocations: 7.938 kB / 1.244 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/1.116, allocations: 335.6 kB / 1.244 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.119, allocations: 434.7 kB / 1.244 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/1.122, allocations: 1.747 MB / 1.246 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008768/1.123, allocations: 1.045 MB / 1.247 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/1.124, allocations: 99.38 kB / 1.247 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of SimCode: time 8.51e-07/1.124, allocations: 0 / 1.247 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.02902/1.153, allocations: 16.23 MB / 1.263 GB, free: 14 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches