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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.408/2.408, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001132/0.001133, allocations: 194 kB / 0.4902 GB, free: 2.281 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.542/1.542, allocations: 223.2 MB / 0.7992 GB, free: 14.68 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.00092/0.0009198, allocations: 83.06 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004616, allocations: 7.812 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3657, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.5732, allocations: 154.7 MB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5736, allocations: 91.94 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03153/0.6052, allocations: 12.13 MB / 1.392 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6052, allocations: 0 / 1.392 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.329e-05/0.6053, allocations: 16 kB / 1.392 GB, free: 2.562 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.002058/0.6073, allocations: 1.127 MB / 1.393 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6074, allocations: 12.52 kB / 1.393 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.6075, allocations: 90.88 kB / 1.393 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.6083, allocations: 0.5043 MB / 1.394 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.6083, allocations: 58 kB / 1.394 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.6084, allocations: 72 kB / 1.394 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.6102, allocations: 0.8423 MB / 1.395 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6102, allocations: 0 / 1.395 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.6103, allocations: 32 kB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.6103, allocations: 16 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.6121, allocations: 0.7573 MB / 1.396 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.6155, allocations: 2.379 MB / 1.398 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.6175, allocations: 0.866 MB / 1.399 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.6176, allocations: 8.438 kB / 1.399 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.6187, allocations: 438.8 kB / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/0.6187, allocations: 384 / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.002504/0.6212, allocations: 1.021 MB / 1.4 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.6213, allocations: 137.1 kB / 1.4 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.6219, allocations: 0.5297 MB / 1.401 GB, free: 9.426 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.622, allocations: 37.7 kB / 1.401 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.6223, allocations: 340.8 kB / 1.401 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.6224, allocations: 193.3 kB / 1.401 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.6225, allocations: 8 kB / 1.401 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.6227, allocations: 378.8 kB / 1.402 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007869/0.6234, allocations: 308.9 kB / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.6243, allocations: 415.3 kB / 1.403 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.6251, allocations: 381.5 kB / 1.403 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6251, allocations: 4 kB / 1.403 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001857/0.627, allocations: 0.8607 MB / 1.404 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.6272, allocations: 421.6 kB / 1.404 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6272, allocations: 0 / 1.404 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6272, allocations: 4 kB / 1.404 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.6279, allocations: 155.8 kB / 1.404 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.6279, allocations: 8 kB / 1.404 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.6285, allocations: 147.3 kB / 1.404 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.6285, allocations: 19.98 kB / 1.404 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.6285, allocations: 4 kB / 1.404 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/0.6299, allocations: 0.6647 MB / 1.405 GB, free: 5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.6299, allocations: 3.984 kB / 1.405 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.6299, allocations: 8 kB / 1.405 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.6304, allocations: 127.8 kB / 1.405 GB, free: 4.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6305, allocations: 4 kB / 1.405 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.6309, allocations: 115.4 kB / 1.405 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.631, allocations: 19.98 kB / 1.405 GB, free: 4.727 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.0003584/0.6313, allocations: 299.3 kB / 1.406 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.6314, allocations: 75.03 kB / 1.406 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.6332, allocations: 0.7713 MB / 1.406 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6332, allocations: 4 kB / 1.406 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6332, allocations: 4 kB / 1.406 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6333, allocations: 0 / 1.406 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.6358, allocations: 1.547 MB / 1.408 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6358, allocations: 0 / 1.408 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.6364, allocations: 151.8 kB / 1.408 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6365, allocations: 4 kB / 1.408 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.6365, allocations: 15.98 kB / 1.408 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.6365, allocations: 4 kB / 1.408 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6365, allocations: 0 / 1.408 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.639, allocations: 1.224 MB / 1.409 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.6392, allocations: 160.2 kB / 1.41 GB, free: 376 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.6393, allocations: 12 kB / 1.41 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.6397, allocations: 87.92 kB / 1.41 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6399, allocations: 56.47 kB / 1.41 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.6399, allocations: 16 kB / 1.41 GB, free: 204 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005293/0.6405, allocations: 422.8 kB / 1.41 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6405, allocations: 0 / 1.41 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006702/0.6411, allocations: 259.1 kB / 1.41 GB, free: 15.54 MB / 0.9167 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.0001971/0.6414, allocations: 126 kB / 1.41 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.6439, allocations: 1.246 MB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6439, allocations: 0 / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000807/0.6447, allocations: 367.2 kB / 1.412 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.6453, allocations: 115.9 kB / 1.412 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.6476, allocations: 1.431 MB / 1.414 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.6481, allocations: 0.927 MB / 1.414 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.6485, allocations: 84.94 kB / 1.415 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.6486, allocations: 55.42 kB / 1.415 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.6487, allocations: 0 / 1.415 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of Templates: time 0.01276/0.6614, allocations: 7.143 MB / 1.422 GB, free: 3.992 MB / 0.9167 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","../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches