Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.002273/0.002273, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.002673/0.002673, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 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.454/2.454, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.00597/1.06, allocations: 3.928 MB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002513/1.062, allocations: 1.317 MB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/1.063, allocations: 12 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/1.063, allocations: 134.6 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004448/1.064, allocations: 126.8 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/1.064, allocations: 355.5 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001054/1.065, allocations: 1.025 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/1.066, allocations: 0.5426 MB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/1.067, allocations: 366.6 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/1.067, allocations: 406 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/1.067, allocations: 120 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/1.067, allocations: 120 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/1.068, allocations: 231.3 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/1.068, allocations: 433.8 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.069, allocations: 1.3 MB / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.069, allocations: 3.984 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/1.069, allocations: 0 / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.069, allocations: 0 / 1.177 GB, free: 9.406 MB / 0.9044 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.002548/1.072, allocations: 1.246 MB / 1.179 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.072, allocations: 12.88 kB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/1.072, allocations: 104.3 kB / 1.179 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009089/1.073, allocations: 0.531 MB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/1.073, allocations: 54.38 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.073, allocations: 80.36 kB / 1.179 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.075, allocations: 0.8113 MB / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.075, allocations: 0 / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/1.075, allocations: 28 kB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/1.075, allocations: 16 kB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.077, allocations: 0.6869 MB / 1.181 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/1.08, allocations: 2.455 MB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/1.082, allocations: 0.7033 MB / 1.184 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/1.083, allocations: 355.5 kB / 1.184 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/1.083, allocations: 5.453 kB / 1.184 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009343/1.084, allocations: 377.1 kB / 1.185 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/1.084, allocations: 0 / 1.185 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=51): time 0.002341/1.086, allocations: 0.8499 MB / 1.186 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.086, allocations: 148.9 kB / 1.186 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/1.087, allocations: 0.5655 MB / 1.186 GB, free: 132 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/1.087, allocations: 41.7 kB / 1.186 GB, free: 84 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/1.087, allocations: 368.7 kB / 1.187 GB, free: 15.72 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.088, allocations: 174.5 kB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/1.088, allocations: 114.2 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.088, allocations: 378.6 kB / 1.187 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/1.089, allocations: 283 kB / 1.187 GB, free: 14.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/1.09, allocations: 409.1 kB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/1.091, allocations: 0.6624 MB / 1.189 GB, free: 13.62 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.091, allocations: 0 / 1.189 GB, free: 13.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001962/1.093, allocations: 0.8143 MB / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/1.093, allocations: 61.59 kB / 1.189 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.093, allocations: 4 kB / 1.189 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.093, allocations: 7.938 kB / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/1.094, allocations: 147.8 kB / 1.19 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.094, allocations: 8 kB / 1.19 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/1.095, allocations: 123.4 kB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/1.095, allocations: 20 kB / 1.19 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008408/1.096, allocations: 389.1 kB / 1.19 GB, free: 12.03 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007023/1.096, allocations: 361.2 kB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/1.098, allocations: 0.5726 MB / 1.191 GB, free: 11.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/1.098, allocations: 4 kB / 1.191 GB, free: 11 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001504/1.099, allocations: 0.7128 MB / 1.192 GB, free: 10.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/1.099, allocations: 63.41 kB / 1.192 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.099, allocations: 4 kB / 1.192 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/1.099, allocations: 4 kB / 1.192 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/1.1, allocations: 123.8 kB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.1, allocations: 8 kB / 1.192 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/1.1, allocations: 95.66 kB / 1.192 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/1.1, allocations: 24 kB / 1.192 GB, free: 9.945 MB / 0.92 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.0002063/1.101, allocations: 224 kB / 1.192 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.101, allocations: 63.58 kB / 1.192 GB, free: 9.656 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/1.102, allocations: 0.6547 MB / 1.193 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/1.102, allocations: 0 / 1.193 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.102, allocations: 0 / 1.193 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/1.103, allocations: 156.5 kB / 1.193 GB, free: 8.824 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/1.103, allocations: 15.94 kB / 1.193 GB, free: 8.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/1.103, allocations: 67.92 kB / 1.193 GB, free: 8.742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.103, allocations: 44.38 kB / 1.193 GB, free: 8.695 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002095/1.105, allocations: 0.7416 MB / 1.194 GB, free: 7.945 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002747/1.108, allocations: 1.146 MB / 1.195 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008202/1.109, allocations: 303.2 kB / 1.195 GB, free: 6.488 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006189/1.11, allocations: 406.8 kB / 1.196 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Backend: time 7.71e-07/1.11, allocations: 4 kB / 1.196 GB, free: 6.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.112, allocations: 1 MB / 1.197 GB, free: 5.031 MB / 0.92 GB Notification: Performance of SimCode: time 0.002607/1.115, allocations: 1.555 MB / 1.198 GB, free: 3.422 MB / 0.92 GB Notification: Performance of Templates: time 0.01947/1.134, allocations: 10.57 MB / 1.208 GB, free: 8.902 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches