Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001169/0.001169, allocations: 183.2 kB / 326.5 MB, free: 2.25 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.829/1.829, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009142/0.0009143, allocations: 94.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004452, allocations: 12.06 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.4394, allocations: 139.5 MB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4397, allocations: 91.94 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02145/0.4612, allocations: 8.831 MB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4612, allocations: 7.938 kB / 1.045 GB, free: 11.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.4613, allocations: 16 kB / 1.045 GB, free: 11.3 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001381/0.4626, allocations: 0.7859 MB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4627, allocations: 8.031 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.4628, allocations: 63.34 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.4634, allocations: 427.5 kB / 1.046 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.4635, allocations: 37 kB / 1.046 GB, free: 9.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.4635, allocations: 48 kB / 1.046 GB, free: 9.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009788/0.4645, allocations: 0.5601 MB / 1.047 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4646, allocations: 4 kB / 1.047 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.4646, allocations: 23.94 kB / 1.047 GB, free: 9.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4646, allocations: 12 kB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/0.4656, allocations: 451.6 kB / 1.047 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.4678, allocations: 1.899 MB / 1.049 GB, free: 6.785 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4688, allocations: 427.2 kB / 1.05 GB, free: 6.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.4688, allocations: 7.984 kB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.4693, allocations: 241.4 kB / 1.05 GB, free: 6.105 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.716e-06/0.4694, allocations: 0 / 1.05 GB, free: 6.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001238/0.4706, allocations: 0.5453 MB / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.4707, allocations: 114.8 kB / 1.051 GB, free: 5.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.4711, allocations: 360.7 kB / 1.051 GB, free: 5.062 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.4711, allocations: 49.69 kB / 1.051 GB, free: 5.008 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.4713, allocations: 240.2 kB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.4714, allocations: 102.7 kB / 1.051 GB, free: 4.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.4714, allocations: 8 kB / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4716, allocations: 362.7 kB / 1.052 GB, free: 4.297 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.472, allocations: 177 kB / 1.052 GB, free: 4.125 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.4725, allocations: 306.7 kB / 1.052 GB, free: 3.773 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.4729, allocations: 211.2 kB / 1.052 GB, free: 3.562 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4729, allocations: 4 kB / 1.052 GB, free: 3.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001026/0.474, allocations: 0.5503 MB / 1.053 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.474, allocations: 36.36 kB / 1.053 GB, free: 2.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.474, allocations: 8.219 kB / 1.053 GB, free: 2.949 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.474, allocations: 7.938 kB / 1.053 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.4744, allocations: 87.81 kB / 1.053 GB, free: 2.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4744, allocations: 4 kB / 1.053 GB, free: 2.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.4748, allocations: 79.64 kB / 1.053 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.4748, allocations: 23.98 kB / 1.053 GB, free: 2.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0002471/0.4751, allocations: 205.7 kB / 1.053 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.4752, allocations: 47.42 kB / 1.053 GB, free: 2.496 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/0.4761, allocations: 441.5 kB / 1.054 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4761, allocations: 4 kB / 1.054 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4761, allocations: 0 / 1.054 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4762, allocations: 0 / 1.054 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.4777, allocations: 1.034 MB / 1.055 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4777, allocations: 0 / 1.055 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.478, allocations: 63.98 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.478, allocations: 0 / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.4781, allocations: 8 kB / 1.055 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4781, allocations: 0 / 1.055 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4781, allocations: 7.891 kB / 1.055 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.4794, allocations: 0.7278 MB / 1.056 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5274/1.007, allocations: 149.3 kB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/1.007, allocations: 7.688 kB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/1.007, allocations: 58.22 kB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.008, allocations: 46.22 kB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/1.008, allocations: 12.98 kB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004065/1.008, allocations: 265.7 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.008, allocations: 2.844 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006073/1.009, allocations: 94.19 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002136/1.009, allocations: 130.4 kB / 1.056 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.01, allocations: 491.1 kB / 1.057 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.01, allocations: 0 / 1.057 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004281/1.01, allocations: 203.5 kB / 1.057 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/1.011, allocations: 76.7 kB / 1.057 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.012, allocations: 0.8635 MB / 1.058 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/1.013, allocations: 0.8458 MB / 1.059 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002111/1.013, allocations: 49.59 kB / 1.059 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.013, allocations: 36.45 kB / 1.059 GB, free: 146.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.013, allocations: 0 / 1.059 GB, free: 146.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01092/1.024, allocations: 4.786 MB / 1.063 GB, free: 146.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches