Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001117/0.001118, allocations: 178.1 kB / 498.1 MB, free: 5.723 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.503/1.503, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009479/0.0009481, allocations: 91.33 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 11.42 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.4297, allocations: 151 MB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.43, allocations: 79.94 kB / 1.371 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.4505, allocations: 8.403 MB / 1.379 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4505, allocations: 0 / 1.379 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.775e-05/0.4506, allocations: 20 kB / 1.379 GB, free: 2.461 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001423/0.452, allocations: 0.8688 MB / 1.38 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.452, allocations: 8.031 kB / 1.38 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.4522, allocations: 79.06 kB / 1.38 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4532, allocations: 0.5757 MB / 1.38 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.4533, allocations: 49.31 kB / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.4534, allocations: 60 kB / 1.38 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4544, allocations: 0.5414 MB / 1.381 GB, free: 188 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4544, allocations: 0 / 1.381 GB, free: 188 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.4545, allocations: 32 kB / 1.381 GB, free: 156 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.4545, allocations: 12 kB / 1.381 GB, free: 144 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/0.4555, allocations: 497 kB / 1.381 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.4583, allocations: 1.703 MB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.4589, allocations: 219.4 kB / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.459, allocations: 4.188 kB / 1.383 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.459, allocations: 38.67 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.459, allocations: 0 / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0008609/0.4599, allocations: 377.6 kB / 1.384 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.4599, allocations: 59.41 kB / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.4605, allocations: 0.5423 MB / 1.384 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4606, allocations: 33.7 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.4608, allocations: 359.4 kB / 1.385 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.4609, allocations: 78.84 kB / 1.385 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.4609, allocations: 8 kB / 1.385 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.461, allocations: 374.7 kB / 1.385 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.4614, allocations: 132.8 kB / 1.385 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.4618, allocations: 264.6 kB / 1.385 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.4621, allocations: 153 kB / 1.386 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4621, allocations: 7.938 kB / 1.386 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008515/0.463, allocations: 479 kB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.463, allocations: 4.781 kB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.463, allocations: 4 kB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.463, allocations: 11.98 kB / 1.386 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.4634, allocations: 91.83 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4634, allocations: 4 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.4638, allocations: 79.41 kB / 1.386 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4638, allocations: 16 kB / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.damLim.noZerMin.greHys.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.noZerMin.greHys.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0002274/0.4641, allocations: 189.6 kB / 1.386 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.4641, allocations: 63.25 kB / 1.386 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006978/0.4648, allocations: 321 kB / 1.387 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4649, allocations: 0 / 1.387 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4649, allocations: 0 / 1.387 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4649, allocations: 3.984 kB / 1.387 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.4662, allocations: 0.9449 MB / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4663, allocations: 0 / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.4665, allocations: 59.89 kB / 1.388 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4665, allocations: 0 / 1.388 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4665, allocations: 11.94 kB / 1.388 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.4665, allocations: 12.14 kB / 1.388 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4666, allocations: 7.938 kB / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.4672, allocations: 0.4941 MB / 1.388 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4674, allocations: 144.3 kB / 1.388 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.4674, allocations: 15.94 kB / 1.388 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.4677, allocations: 31.98 kB / 1.388 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.4678, allocations: 31.89 kB / 1.389 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4678, allocations: 4 kB / 1.389 GB, free: 7.992 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004525/0.4683, allocations: 423.1 kB / 1.389 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4683, allocations: 0 / 1.389 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004019/0.4687, allocations: 95.78 kB / 1.389 GB, free: 7.488 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001427/0.4688, allocations: 123 kB / 1.389 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006813/0.4695, allocations: 311.1 kB / 1.389 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4695, allocations: 0 / 1.389 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.4698, allocations: 138.7 kB / 1.39 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.4706, allocations: 186.8 kB / 1.39 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.472, allocations: 1.008 MB / 1.391 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.4724, allocations: 0.8865 MB / 1.392 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.4727, allocations: 76.89 kB / 1.392 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4728, allocations: 51.42 kB / 1.392 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.4728, allocations: 0 / 1.392 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of Templates: time 0.009832/0.4827, allocations: 4.736 MB / 1.396 GB, free: 15.98 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches