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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 179.3 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 223.2 MB / 0.7948 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 95.14 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 7.375 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.5277, allocations: 153.9 MB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5281, allocations: 87.94 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03385/0.5619, allocations: 12.13 MB / 1.385 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/0.562, allocations: 3.938 kB / 1.385 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.208e-05/0.5621, allocations: 16 kB / 1.385 GB, free: 11.86 MB / 0.8855 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.003282/0.5654, allocations: 1.119 MB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5654, allocations: 8.031 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/0.5659, allocations: 98.88 kB / 1.386 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5671, allocations: 0.4927 MB / 1.387 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.5672, allocations: 57.98 kB / 1.387 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.5674, allocations: 76 kB / 1.387 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.5698, allocations: 0.8462 MB / 1.388 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.5698, allocations: 0 / 1.388 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/0.5699, allocations: 28 kB / 1.388 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.5699, allocations: 16 kB / 1.388 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.5721, allocations: 0.7651 MB / 1.389 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00463/0.5767, allocations: 2.375 MB / 1.391 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.5789, allocations: 0.8617 MB / 1.392 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.579, allocations: 4.438 kB / 1.392 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.5802, allocations: 438.8 kB / 1.392 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.326e-06/0.5802, allocations: 0 / 1.392 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.002646/0.5828, allocations: 1.025 MB / 1.393 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.5829, allocations: 141.1 kB / 1.393 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009468/0.5839, allocations: 0.5258 MB / 1.394 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/0.584, allocations: 45.69 kB / 1.394 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.5843, allocations: 336.8 kB / 1.394 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.5845, allocations: 181.4 kB / 1.394 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.5846, allocations: 16 kB / 1.394 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.5848, allocations: 378.8 kB / 1.395 GB, free: 1.777 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.5856, allocations: 304.9 kB / 1.395 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.5865, allocations: 415.4 kB / 1.395 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/0.5874, allocations: 381.4 kB / 1.396 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5874, allocations: 0 / 1.396 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002064/0.5895, allocations: 0.8685 MB / 1.397 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002743/0.5898, allocations: 417.6 kB / 1.397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5898, allocations: 0 / 1.397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.5898, allocations: 4 kB / 1.397 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.5905, allocations: 163.7 kB / 1.397 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.5905, allocations: 4 kB / 1.397 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.5913, allocations: 147.3 kB / 1.397 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.5914, allocations: 16 kB / 1.397 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5914, allocations: 4.781 kB / 1.397 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/0.5929, allocations: 0.6725 MB / 1.398 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5929, allocations: 0 / 1.398 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.5929, allocations: 4 kB / 1.398 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.5934, allocations: 131.8 kB / 1.398 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5934, allocations: 0 / 1.398 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.594, allocations: 119.3 kB / 1.398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.5941, allocations: 20 kB / 1.398 GB, free: 14.03 MB / 0.9011 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 ($whenCondition5,$whenCondition4,$whenCondition3,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.000551/0.5947, allocations: 300.7 kB / 1.399 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.5949, allocations: 67.16 kB / 1.399 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.5969, allocations: 0.7713 MB / 1.399 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5969, allocations: 8 kB / 1.399 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5969, allocations: 0 / 1.399 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5969, allocations: 0 / 1.399 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.5999, allocations: 1.547 MB / 1.401 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5999, allocations: 4 kB / 1.401 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.6005, allocations: 151.8 kB / 1.401 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.6005, allocations: 4 kB / 1.401 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.6006, allocations: 8 kB / 1.401 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6006, allocations: 3.984 kB / 1.401 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6006, allocations: 4 kB / 1.401 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.6034, allocations: 1.224 MB / 1.402 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.6037, allocations: 152.2 kB / 1.402 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6038, allocations: 15.98 kB / 1.402 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.6045, allocations: 92.02 kB / 1.402 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.6046, allocations: 56.47 kB / 1.403 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.6047, allocations: 19.92 kB / 1.403 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007943/0.6055, allocations: 430.8 kB / 1.403 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6055, allocations: 0 / 1.403 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001023/0.6065, allocations: 251.1 kB / 1.403 GB, free: 8.844 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * 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.0002623/0.6068, allocations: 135.1 kB / 1.403 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003085/0.6099, allocations: 1.242 MB / 1.405 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6099, allocations: 4 kB / 1.405 GB, free: 7.402 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/0.6108, allocations: 367.2 kB / 1.405 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.6116, allocations: 121.3 kB / 1.405 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.6144, allocations: 1.419 MB / 1.406 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.615, allocations: 0.9308 MB / 1.407 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004383/0.6155, allocations: 76.89 kB / 1.407 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.6157, allocations: 59.36 kB / 1.407 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of SimCode: time 9.62e-07/0.6157, allocations: 0 / 1.407 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of Templates: time 0.01501/0.6307, allocations: 7.141 MB / 1.414 GB, free: 13.3 MB / 0.9167 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","../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches