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.433/1.433, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001115/0.001115, allocations: 170.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008401/0.0008401, allocations: 82.55 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.033e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.659/0.8733, allocations: 137.2 MB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.8736, allocations: 93.98 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.035/0.9086, allocations: 14.38 MB / 1.04 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.387e-06/0.9086, allocations: 4 kB / 1.04 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.237e-05/0.9087, allocations: 19.94 kB / 1.04 GB, free: 1.449 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.001917/0.9106, allocations: 1.066 MB / 1.041 GB, free: 384 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.9107, allocations: 8.031 kB / 1.041 GB, free: 376 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.9109, allocations: 98.78 kB / 1.041 GB, free: 276 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000809/0.9117, allocations: 0.541 MB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.9117, allocations: 55 kB / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.9119, allocations: 74.12 kB / 1.042 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.9131, allocations: 0.741 MB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.9131, allocations: 0 / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.9132, allocations: 32.88 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.9132, allocations: 20 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.9141, allocations: 0.5244 MB / 1.043 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.9176, allocations: 2.91 MB / 1.046 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.9187, allocations: 0.6131 MB / 1.046 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.9191, allocations: 273.2 kB / 1.047 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.9192, allocations: 16.52 kB / 1.047 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.9197, allocations: 303.2 kB / 1.047 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.267e-06/0.9197, allocations: 4 kB / 1.047 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.0008511/0.9206, allocations: 0.499 MB / 1.047 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.9206, allocations: 137.1 kB / 1.048 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.9213, allocations: 0.5608 MB / 1.048 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.9214, allocations: 38.83 kB / 1.048 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.9216, allocations: 364.1 kB / 1.049 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.9218, allocations: 180.3 kB / 1.049 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.9218, allocations: 13.38 kB / 1.049 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.922, allocations: 331.5 kB / 1.049 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.9223, allocations: 184.2 kB / 1.049 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.9227, allocations: 289.2 kB / 1.049 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.923, allocations: 265.4 kB / 1.05 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9231, allocations: 0 / 1.05 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009194/0.924, allocations: 0.634 MB / 1.05 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.9242, allocations: 420 kB / 1.051 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9242, allocations: 0 / 1.051 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.9243, allocations: 4 kB / 1.051 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.9249, allocations: 163.5 kB / 1.051 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.925, allocations: 4 kB / 1.051 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.9256, allocations: 157.7 kB / 1.051 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.9256, allocations: 19.88 kB / 1.051 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9256, allocations: 5.719 kB / 1.051 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008122/0.9265, allocations: 0.5344 MB / 1.052 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.9265, allocations: 0 / 1.052 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.9265, allocations: 4 kB / 1.052 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.927, allocations: 138.5 kB / 1.052 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.927, allocations: 0 / 1.052 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.9276, allocations: 125.2 kB / 1.052 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.9276, allocations: 15.75 kB / 1.052 GB, free: 7.605 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.0001546/0.9278, allocations: 133.4 kB / 1.052 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.9279, allocations: 78.95 kB / 1.052 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.9288, allocations: 0.544 MB / 1.053 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.9288, allocations: 4 kB / 1.053 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9289, allocations: 0 / 1.053 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.9289, allocations: 3.984 kB / 1.053 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.9308, allocations: 1.363 MB / 1.054 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9308, allocations: 4 kB / 1.054 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.9314, allocations: 147.3 kB / 1.054 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.9315, allocations: 4 kB / 1.054 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.9315, allocations: 14.73 kB / 1.054 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.9315, allocations: 8 kB / 1.054 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9315, allocations: 3.938 kB / 1.054 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.9329, allocations: 0.9329 MB / 1.055 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.9331, allocations: 164.6 kB / 1.055 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.9332, allocations: 14.69 kB / 1.055 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.9338, allocations: 93.92 kB / 1.055 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.9339, allocations: 54.06 kB / 1.055 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.934, allocations: 19.8 kB / 1.055 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005389/0.9345, allocations: 453.2 kB / 1.056 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9345, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006757/0.9352, allocations: 268.4 kB / 1.056 GB, free: 4.273 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.0001838/0.9354, allocations: 120.3 kB / 1.056 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.9367, allocations: 0.9629 MB / 1.057 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9367, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.9371, allocations: 263.2 kB / 1.057 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.9378, allocations: 149.7 kB / 1.058 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.9395, allocations: 0.9305 MB / 1.058 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.9401, allocations: 0.9593 MB / 1.059 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005448/0.9407, allocations: 120 kB / 1.059 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.9408, allocations: 42.75 kB / 1.06 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of SimCode: time 4.4e-07/0.9408, allocations: 0 / 1.06 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of Templates: time 0.01587/0.9567, allocations: 8.947 MB / 1.068 GB, free: 8.277 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