Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001772/0.001772, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.00209/0.00209, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001766, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.153, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.006228/1.16, allocations: 3.918 MB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003491/1.163, allocations: 1.297 MB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006731/1.164, allocations: 12.88 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/1.164, allocations: 132.5 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/1.165, allocations: 132.8 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/1.166, allocations: 351.8 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00152/1.167, allocations: 1.037 MB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/1.168, allocations: 0.5434 MB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/1.169, allocations: 369.3 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/1.169, allocations: 399.3 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/1.17, allocations: 121.8 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/1.17, allocations: 120 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/1.17, allocations: 229.2 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004857/1.171, allocations: 445.3 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/1.173, allocations: 1.285 MB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.173, allocations: 5.156 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.064e-06/1.173, allocations: 0 / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.173, allocations: 0.7188 kB / 1.099 GB, free: 14.87 MB / 0.8731 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.002953/1.176, allocations: 1.224 MB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/1.176, allocations: 9.422 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/1.176, allocations: 98.44 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.177, allocations: 0.5305 MB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/1.177, allocations: 54.77 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/1.177, allocations: 78 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/1.179, allocations: 0.8138 MB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.179, allocations: 0 / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/1.18, allocations: 32.19 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/1.18, allocations: 17.55 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/1.182, allocations: 0.6804 MB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/1.187, allocations: 2.438 MB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/1.189, allocations: 0.7093 MB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.19, allocations: 352.3 kB / 1.106 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/1.19, allocations: 8.031 kB / 1.106 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.191, allocations: 373.2 kB / 1.106 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=51): time 4.85e-06/1.191, allocations: 0 / 1.106 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51): time 0.003137/1.194, allocations: 0.8481 MB / 1.107 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/1.195, allocations: 144.8 kB / 1.107 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.196, allocations: 0.5647 MB / 1.107 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/1.196, allocations: 42.59 kB / 1.107 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/1.196, allocations: 368.2 kB / 1.108 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.196, allocations: 169.2 kB / 1.108 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/1.197, allocations: 109.9 kB / 1.108 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002351/1.197, allocations: 377.8 kB / 1.108 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009123/1.198, allocations: 282 kB / 1.109 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.199, allocations: 409.4 kB / 1.109 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/1.201, allocations: 0.6586 MB / 1.11 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.201, allocations: 0 / 1.11 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002618/1.204, allocations: 0.8184 MB / 1.111 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.204, allocations: 61.2 kB / 1.111 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.204, allocations: 3.094 kB / 1.111 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.284e-05/1.204, allocations: 4.312 kB / 1.111 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/1.205, allocations: 142.4 kB / 1.111 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/1.205, allocations: 9.656 kB / 1.111 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/1.206, allocations: 123 kB / 1.111 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/1.206, allocations: 21.55 kB / 1.111 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/1.207, allocations: 384.2 kB / 1.111 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/1.208, allocations: 369.9 kB / 1.112 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001873/1.21, allocations: 0.5716 MB / 1.112 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.726e-06/1.21, allocations: 0.5 kB / 1.112 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001972/1.212, allocations: 0.7063 MB / 1.113 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/1.212, allocations: 61.42 kB / 1.113 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.212, allocations: 2.656 kB / 1.113 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.212, allocations: 8.812 kB / 1.113 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/1.213, allocations: 122.5 kB / 1.113 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/1.213, allocations: 5.438 kB / 1.113 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/1.213, allocations: 101.4 kB / 1.113 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/1.213, allocations: 19.61 kB / 1.113 GB, free: 7.02 MB / 0.8731 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.0003286/1.214, allocations: 221.5 kB / 1.113 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/1.214, allocations: 62.27 kB / 1.113 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/1.216, allocations: 0.6555 MB / 1.114 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.216, allocations: 2.672 kB / 1.114 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.216, allocations: 0 / 1.114 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/1.216, allocations: 151.1 kB / 1.114 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.217, allocations: 16.34 kB / 1.114 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/1.217, allocations: 67.59 kB / 1.114 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.217, allocations: 47.89 kB / 1.114 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002417/1.22, allocations: 0.7406 MB / 1.115 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003073/1.223, allocations: 1.139 MB / 1.116 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009161/1.224, allocations: 298.9 kB / 1.116 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007652/1.224, allocations: 407.5 kB / 1.117 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of Backend: time 7.81e-07/1.225, allocations: 4 kB / 1.117 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003071/1.228, allocations: 0.9972 MB / 1.118 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of SimCode: time 0.003013/1.231, allocations: 1.525 MB / 1.119 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of Templates: time 0.03076/1.261, allocations: 10.55 MB / 1.13 GB, free: 2.922 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches