Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 114.7 kB / 16.42 MB, free: 6.5 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.002351/0.002351, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.636/2.636, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.89 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9626, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.00575/0.9684, allocations: 3.927 MB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.9711, allocations: 1.293 MB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.9719, allocations: 15.94 kB / 1.231 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.9725, allocations: 130.6 kB / 1.232 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.9731, allocations: 122.9 kB / 1.232 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008127/0.974, allocations: 359.5 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.975, allocations: 1.037 MB / 1.233 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000884/0.9759, allocations: 0.5425 MB / 1.234 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.9763, allocations: 362.6 kB / 1.234 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.9767, allocations: 402 kB / 1.234 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.9769, allocations: 124 kB / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.977, allocations: 120 kB / 1.235 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.9772, allocations: 227.3 kB / 1.235 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.9776, allocations: 445.7 kB / 1.235 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.9788, allocations: 1.296 MB / 1.236 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9788, allocations: 0 / 1.236 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9788, allocations: 0 / 1.236 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9788, allocations: 0 / 1.236 GB, free: 3.098 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002332/0.9812, allocations: 1.242 MB / 1.238 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9812, allocations: 12.03 kB / 1.238 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.9814, allocations: 108.2 kB / 1.238 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.9822, allocations: 0.5388 MB / 1.238 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.9823, allocations: 58.38 kB / 1.238 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.9824, allocations: 68.38 kB / 1.238 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.9839, allocations: 0.8153 MB / 1.239 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.984, allocations: 0 / 1.239 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.984, allocations: 32 kB / 1.239 GB, free: 108 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.9841, allocations: 19.94 kB / 1.239 GB, free: 88 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.9857, allocations: 0.6831 MB / 1.24 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.9891, allocations: 2.443 MB / 1.242 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.9908, allocations: 0.711 MB / 1.243 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.9916, allocations: 351.5 kB / 1.243 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.9917, allocations: 12.44 kB / 1.243 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000848/0.9925, allocations: 366.2 kB / 1.244 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=51): time 2.906e-06/0.9926, allocations: 0 / 1.244 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=51): time 0.00223/0.9948, allocations: 0.8577 MB / 1.245 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.9949, allocations: 141 kB / 1.245 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.9956, allocations: 0.5655 MB / 1.245 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.9957, allocations: 41.7 kB / 1.245 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.996, allocations: 376.7 kB / 1.246 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.9961, allocations: 174.5 kB / 1.246 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.9963, allocations: 110.2 kB / 1.246 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9965, allocations: 382.6 kB / 1.246 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.9972, allocations: 279 kB / 1.247 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/0.998, allocations: 422.4 kB / 1.247 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.9995, allocations: 0.6546 MB / 1.248 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9995, allocations: 0 / 1.248 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001752/1.001, allocations: 0.8143 MB / 1.248 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/1.001, allocations: 63.39 kB / 1.248 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.001, allocations: 0 / 1.248 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.001, allocations: 8 kB / 1.248 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/1.002, allocations: 143.8 kB / 1.249 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.002, allocations: 8 kB / 1.249 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/1.003, allocations: 131.4 kB / 1.249 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/1.003, allocations: 20.08 kB / 1.249 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007525/1.003, allocations: 393.1 kB / 1.249 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006307/1.004, allocations: 365.1 kB / 1.249 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001104/1.005, allocations: 0.5688 MB / 1.25 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/1.005, allocations: 0 / 1.25 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00141/1.007, allocations: 0.7167 MB / 1.251 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/1.007, allocations: 63.39 kB / 1.251 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/1.007, allocations: 0 / 1.251 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/1.007, allocations: 8 kB / 1.251 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/1.007, allocations: 119.9 kB / 1.251 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.007, allocations: 7.938 kB / 1.251 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/1.008, allocations: 99.77 kB / 1.251 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/1.008, allocations: 20 kB / 1.251 GB, free: 3.621 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0001959/1.008, allocations: 229.8 kB / 1.251 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/1.008, allocations: 67.58 kB / 1.251 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/1.009, allocations: 0.6509 MB / 1.252 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/1.009, allocations: 3.984 kB / 1.252 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.009, allocations: 0 / 1.252 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/1.01, allocations: 152.5 kB / 1.252 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/1.01, allocations: 11.94 kB / 1.252 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/1.01, allocations: 67.91 kB / 1.252 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.01, allocations: 48.38 kB / 1.252 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001843/1.012, allocations: 0.7415 MB / 1.253 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002345/1.014, allocations: 1.146 MB / 1.254 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006838/1.015, allocations: 307.2 kB / 1.254 GB, free: 164 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004731/1.016, allocations: 402.8 kB / 1.255 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of Backend: time 4.21e-07/1.016, allocations: 4 kB / 1.255 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.018, allocations: 0.9985 MB / 1.256 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002134/1.02, allocations: 1.552 MB / 1.257 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.02006/1.04, allocations: 10.58 MB / 1.268 GB, free: 2.57 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches