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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 183.3 kB / 326.5 MB, free: 2.234 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.943/1.943, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008895/0.0008896, allocations: 95.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 11.94 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2474, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.4351, allocations: 137.2 MB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4354, allocations: 87.95 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03504/0.4705, allocations: 14.41 MB / 1.048 GB, free: 7.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4706, allocations: 0 / 1.048 GB, free: 7.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.056e-05/0.4706, allocations: 16 kB / 1.048 GB, free: 7.918 MB / 0.698 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.002326/0.4729, allocations: 1.185 MB / 1.049 GB, free: 6.664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/0.473, allocations: 12.03 kB / 1.049 GB, free: 6.652 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.4732, allocations: 106.7 kB / 1.05 GB, free: 6.547 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.4741, allocations: 0.5452 MB / 1.05 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.4742, allocations: 58 kB / 1.05 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4743, allocations: 72 kB / 1.05 GB, free: 5.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.476, allocations: 0.8786 MB / 1.051 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.476, allocations: 4 kB / 1.051 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.4761, allocations: 39.97 kB / 1.051 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.4761, allocations: 19.94 kB / 1.051 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.478, allocations: 0.7846 MB / 1.052 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/0.4819, allocations: 2.927 MB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.484, allocations: 0.9174 MB / 1.056 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.4841, allocations: 8.562 kB / 1.056 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5024/0.9866, allocations: 430.9 kB / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 4.579e-06/0.9866, allocations: 0 / 1.056 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003102/0.9897, allocations: 1.061 MB / 1.057 GB, free: 145.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.9898, allocations: 139.5 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.9909, allocations: 0.5715 MB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.132e-05/0.991, allocations: 39.42 kB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.9913, allocations: 359.5 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.9915, allocations: 192.1 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.9915, allocations: 10.12 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.9916, allocations: 331.5 kB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.9924, allocations: 323.9 kB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.9933, allocations: 437 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.9941, allocations: 395.2 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9941, allocations: 0 / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001776/0.9959, allocations: 0.9019 MB / 1.061 GB, free: 144.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.996, allocations: 424.9 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.996, allocations: 0.6562 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.996, allocations: 6.219 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.9968, allocations: 158.3 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.9968, allocations: 9.594 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/0.9976, allocations: 147.7 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.9976, allocations: 24.22 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.9976, allocations: 5.188 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/0.999, allocations: 0.6935 MB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.999, allocations: 0 / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.999, allocations: 9.516 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.9995, allocations: 135.9 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9995, allocations: 2.906 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1, allocations: 115.9 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/1, allocations: 19.03 kB / 1.062 GB, free: 143.5 MB / 0.698 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 () * Number of clocked 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.0004256/1, allocations: 299.2 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/1.001, allocations: 74.28 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.002, allocations: 0.805 MB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.002, allocations: 6.469 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.002, allocations: 0 / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/1.002, allocations: 6.531 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/1.005, allocations: 1.62 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.005, allocations: 9.984 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/1.006, allocations: 151.6 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/1.006, allocations: 2.938 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/1.006, allocations: 14.03 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/1.006, allocations: 3.656 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.006, allocations: 3.094 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/1.009, allocations: 1.33 MB / 1.067 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/1.009, allocations: 162.9 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/1.009, allocations: 15.52 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/1.01, allocations: 94.61 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.01, allocations: 55.17 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/1.01, allocations: 16.77 kB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007342/1.011, allocations: 459.2 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.011, allocations: 0 / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008511/1.012, allocations: 264.3 kB / 1.068 GB, free: 142.3 MB / 0.698 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) * 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.0001888/1.012, allocations: 125.7 kB / 1.068 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002862/1.015, allocations: 1.296 MB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.015, allocations: 0.7188 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009628/1.016, allocations: 395.5 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/1.016, allocations: 146 kB / 1.07 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/1.019, allocations: 1.539 MB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/1.02, allocations: 0.9524 MB / 1.072 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004384/1.02, allocations: 83.89 kB / 1.072 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.02, allocations: 53.11 kB / 1.072 GB, free: 140.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.02, allocations: 0 / 1.072 GB, free: 140.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01655/1.037, allocations: 7.864 MB / 1.08 GB, free: 140 MB / 0.698 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