Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 249.5 MB / 257 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.6 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00091/0.00091, allocations: 90.77 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.711e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7094/0.9127, allocations: 137.5 MB / 1.019 GB, free: 432 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.9131, allocations: 84.27 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0344/0.9475, allocations: 14.28 MB / 1.033 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9476, allocations: 0 / 1.033 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.157e-05/0.9476, allocations: 27.94 kB / 1.033 GB, free: 4.488 MB / 0.6511 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.001871/0.9495, allocations: 1.06 MB / 1.035 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9496, allocations: 12.03 kB / 1.035 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.9497, allocations: 102.8 kB / 1.035 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.9505, allocations: 0.5349 MB / 1.035 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.9505, allocations: 30.88 kB / 1.035 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.9506, allocations: 44 kB / 1.035 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008513/0.9515, allocations: 488 kB / 1.036 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.9525, allocations: 0.6396 MB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.9526, allocations: 0 / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.9526, allocations: 3.188 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.9526, allocations: 20 kB / 1.036 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.956, allocations: 2.744 MB / 1.039 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.957, allocations: 0.5892 MB / 1.04 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.9574, allocations: 260.9 kB / 1.04 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.9575, allocations: 12.55 kB / 1.04 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.9579, allocations: 280 kB / 1.04 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.958, allocations: 4 kB / 1.04 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.0007954/0.9588, allocations: 474.8 kB / 1.041 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.9589, allocations: 133.1 kB / 1.041 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.9594, allocations: 447.6 kB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.9595, allocations: 29.7 kB / 1.041 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.9597, allocations: 372.1 kB / 1.042 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.9599, allocations: 185 kB / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.9599, allocations: 0 / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9601, allocations: 371 kB / 1.042 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.9604, allocations: 177 kB / 1.042 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.9607, allocations: 281.4 kB / 1.042 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.961, allocations: 202.2 kB / 1.043 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.9611, allocations: 4 kB / 1.043 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008573/0.9619, allocations: 0.525 MB / 1.043 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.9622, allocations: 421.4 kB / 1.044 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.9622, allocations: 0 / 1.044 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.9622, allocations: 7.938 kB / 1.044 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.9629, allocations: 166.5 kB / 1.044 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.963, allocations: 3.984 kB / 1.044 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.9635, allocations: 127.4 kB / 1.044 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.9636, allocations: 15.94 kB / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.9636, allocations: 4 kB / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007031/0.9643, allocations: 442.4 kB / 1.044 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.9643, allocations: 0 / 1.044 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.9644, allocations: 4 kB / 1.044 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.9649, allocations: 138.7 kB / 1.044 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9649, allocations: 8.094 kB / 1.044 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.9654, allocations: 87.53 kB / 1.045 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.9654, allocations: 23.23 kB / 1.045 GB, free: 11.32 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.9656, allocations: 120.2 kB / 1.045 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.9657, allocations: 59.25 kB / 1.045 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008588/0.9666, allocations: 494 kB / 1.045 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.9666, allocations: 8 kB / 1.045 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9666, allocations: 4 kB / 1.045 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.9666, allocations: 3.984 kB / 1.045 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.9682, allocations: 1.225 MB / 1.046 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.9682, allocations: 3.953 kB / 1.046 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.9688, allocations: 151 kB / 1.047 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.9688, allocations: 4 kB / 1.047 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.9689, allocations: 7.984 kB / 1.047 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.9689, allocations: 0 / 1.047 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9689, allocations: 4 kB / 1.047 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.97, allocations: 0.8802 MB / 1.047 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.9702, allocations: 146 kB / 1.048 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.9703, allocations: 4 kB / 1.048 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.9708, allocations: 87.91 kB / 1.048 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.971, allocations: 55.38 kB / 1.048 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.971, allocations: 23.17 kB / 1.048 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000371/0.9714, allocations: 333.2 kB / 1.048 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9714, allocations: 0 / 1.048 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007176/0.9721, allocations: 254.7 kB / 1.048 GB, free: 8.262 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.9723, allocations: 111.1 kB / 1.048 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.9735, allocations: 0.9209 MB / 1.049 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9735, allocations: 3.984 kB / 1.049 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.9739, allocations: 246.5 kB / 1.05 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.9746, allocations: 130.8 kB / 1.05 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.9762, allocations: 0.8897 MB / 1.051 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.9768, allocations: 0.9546 MB / 1.051 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000502/0.9773, allocations: 104.8 kB / 1.052 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.9774, allocations: 43.42 kB / 1.052 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of SimCode: time 6.41e-07/0.9774, allocations: 0 / 1.052 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of Templates: time 0.01327/0.9907, allocations: 7.673 MB / 1.059 GB, free: 13.67 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches