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.346/2.346, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001274/0.001274, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.772/1.772, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001089/0.001089, allocations: 91.73 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.503e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3907, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.63, allocations: 154.7 MB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.63, allocations: 84.56 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03275/1.663, allocations: 12.1 MB / 1.382 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.514e-06/1.663, allocations: 0 / 1.382 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.375e-05/1.663, allocations: 16 kB / 1.382 GB, free: 5.047 MB / 0.8386 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.002125/1.665, allocations: 1.02 MB / 1.383 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/1.666, allocations: 8.031 kB / 1.383 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/1.666, allocations: 98.86 kB / 1.383 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/1.667, allocations: 0.491 MB / 1.383 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/1.667, allocations: 58.31 kB / 1.383 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.667, allocations: 71.81 kB / 1.383 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.668, allocations: 0.7033 MB / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.668, allocations: 3.938 kB / 1.384 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/1.668, allocations: 36.55 kB / 1.384 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/1.668, allocations: 16 kB / 1.384 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/1.669, allocations: 499.7 kB / 1.385 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/1.673, allocations: 2.38 MB / 1.387 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.674, allocations: 0.5455 MB / 1.387 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/1.674, allocations: 277.7 kB / 1.388 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/1.674, allocations: 12.44 kB / 1.388 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/1.675, allocations: 296.2 kB / 1.388 GB, free: 36 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/1.675, allocations: 0 / 1.388 GB, free: 36 kB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0009407/1.676, allocations: 479.7 kB / 1.389 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.676, allocations: 141.1 kB / 1.389 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/1.677, allocations: 0.5223 MB / 1.389 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/1.677, allocations: 36.89 kB / 1.389 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/1.677, allocations: 345.1 kB / 1.39 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/1.677, allocations: 180.2 kB / 1.39 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/1.677, allocations: 10.38 kB / 1.39 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002305/1.678, allocations: 379.4 kB / 1.39 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/1.678, allocations: 173.1 kB / 1.39 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/1.678, allocations: 279 kB / 1.39 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/1.679, allocations: 239.9 kB / 1.391 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.679, allocations: 0 / 1.391 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009506/1.68, allocations: 0.6007 MB / 1.391 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003102/1.68, allocations: 408.8 kB / 1.392 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.68, allocations: 8.031 kB / 1.392 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.68, allocations: 7.953 kB / 1.392 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/1.681, allocations: 162.9 kB / 1.392 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.681, allocations: 4 kB / 1.392 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/1.681, allocations: 137.9 kB / 1.392 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/1.681, allocations: 19.56 kB / 1.392 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.681, allocations: 4 kB / 1.392 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007818/1.682, allocations: 0.5074 MB / 1.393 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/1.682, allocations: 4.094 kB / 1.393 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/1.682, allocations: 4 kB / 1.393 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/1.683, allocations: 134.2 kB / 1.393 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/1.683, allocations: 4 kB / 1.393 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/1.683, allocations: 118.2 kB / 1.393 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/1.683, allocations: 18.25 kB / 1.393 GB, free: 12.04 MB / 0.8542 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 () * 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.0001575/1.683, allocations: 142.9 kB / 1.393 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.684, allocations: 71.09 kB / 1.393 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/1.684, allocations: 0.5051 MB / 1.393 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.684, allocations: 4 kB / 1.393 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.684, allocations: 4 kB / 1.394 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.684, allocations: 3.984 kB / 1.394 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/1.686, allocations: 1.283 MB / 1.395 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.686, allocations: 0 / 1.395 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/1.687, allocations: 143.7 kB / 1.395 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.687, allocations: 8 kB / 1.395 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/1.687, allocations: 18.73 kB / 1.395 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.687, allocations: 4 kB / 1.395 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.687, allocations: 0 / 1.395 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.688, allocations: 0.8344 MB / 1.396 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.688, allocations: 154.7 kB / 1.396 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/1.688, allocations: 14.8 kB / 1.396 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/1.689, allocations: 90.8 kB / 1.396 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.689, allocations: 50.86 kB / 1.396 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/1.689, allocations: 19.55 kB / 1.396 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005372/1.69, allocations: 419 kB / 1.396 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.655e-06/1.69, allocations: 0 / 1.396 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007291/1.69, allocations: 263.9 kB / 1.397 GB, free: 8.934 MB / 0.8542 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) * 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.0002432/1.691, allocations: 120.9 kB / 1.397 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001402/1.692, allocations: 0.9252 MB / 1.398 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.692, allocations: 0 / 1.398 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/1.692, allocations: 229.8 kB / 1.398 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/1.693, allocations: 116.4 kB / 1.398 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/1.695, allocations: 0.855 MB / 1.399 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/1.695, allocations: 0.936 MB / 1.4 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005063/1.696, allocations: 107.4 kB / 1.4 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.696, allocations: 46.8 kB / 1.4 GB, free: 6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/1.696, allocations: 0 / 1.4 GB, free: 6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01517/1.711, allocations: 8.029 MB / 1.408 GB, free: 14.03 MB / 0.8698 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