Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00114/0.00114, allocations: 171.4 kB / 498.1 MB, free: 5.758 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.647/1.647, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009836/0.0009837, allocations: 97.3 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 13.62 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.275, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.4541, allocations: 150.1 MB / 1.37 GB, free: 12 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4544, allocations: 75.94 kB / 1.37 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00704/0.4614, allocations: 2.553 MB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4614, allocations: 0 / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.4615, allocations: 8 kB / 1.372 GB, free: 9.367 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005239/0.462, allocations: 432.5 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.462, allocations: 8.031 kB / 1.373 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.4621, allocations: 19.77 kB / 1.373 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4623, allocations: 175 kB / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4623, allocations: 8 kB / 1.373 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.4623, allocations: 8 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.4626, allocations: 107.8 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4626, allocations: 3.938 kB / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4626, allocations: 12 kB / 1.373 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.4626, allocations: 0 / 1.373 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.4629, allocations: 83.94 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007415/0.4636, allocations: 428.4 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.4638, allocations: 74.48 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4639, allocations: 0 / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.4641, allocations: 99.59 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.4641, allocations: 0 / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004568/0.4646, allocations: 165.5 kB / 1.374 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4647, allocations: 55.41 kB / 1.374 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4648, allocations: 127.7 kB / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4648, allocations: 29.7 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.727e-05/0.4649, allocations: 104 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.4649, allocations: 19.72 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4649, allocations: 4 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4651, allocations: 322.8 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4652, allocations: 59.91 kB / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4654, allocations: 78.53 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4656, allocations: 85.67 kB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4656, allocations: 0 / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004253/0.466, allocations: 215.2 kB / 1.375 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.4661, allocations: 34.33 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4661, allocations: 7.953 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4661, allocations: 0 / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4662, allocations: 15.98 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4662, allocations: 4 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.4665, allocations: 47.89 kB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4665, allocations: 8 kB / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 9.286e-05/0.4666, allocations: 129.8 kB / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4666, allocations: 3.906 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.4667, allocations: 20.7 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4667, allocations: 3.953 kB / 1.375 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4667, allocations: 3.938 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4667, allocations: 0 / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4668, allocations: 201.6 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4668, allocations: 0 / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.4669, allocations: 19.98 kB / 1.375 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4669, allocations: 0 / 1.375 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.467, allocations: 0 / 1.375 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.467, allocations: 3.984 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.467, allocations: 11.95 kB / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4672, allocations: 140.9 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.4673, allocations: 89 kB / 1.375 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4673, allocations: 4 kB / 1.375 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.4674, allocations: 8.094 kB / 1.375 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.4674, allocations: 11.88 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4675, allocations: 8 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.4675, allocations: 95.27 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4675, allocations: 0 / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002241/0.4677, allocations: 43.83 kB / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001513/0.4679, allocations: 119 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.4683, allocations: 191.2 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4683, allocations: 4 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4684, allocations: 48.09 kB / 1.376 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.4686, allocations: 15.98 kB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.469, allocations: 227.4 kB / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.4692, allocations: 0.6965 MB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.4693, allocations: 7.984 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.4693, allocations: 11.44 kB / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.4693, allocations: 4 kB / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of Templates: time 0.004031/0.4734, allocations: 1.409 MB / 1.378 GB, free: 2.707 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches