Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9705/0.9705, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.896/1.896, allocations: 377.8 MB / 0.6236 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8116 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.789e-05, allocations: 4.281 kB / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001476/0.001494, allocations: 0.8806 MB / 0.8125 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002716, allocations: 1.21 MB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.002774, allocations: 4 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.002807, allocations: 8.969 kB / 0.8136 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.002885, allocations: 15.8 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.00329, allocations: 149 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.003456, allocations: 155.7 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.003579, allocations: 40 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003693, allocations: 83.86 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.003777, allocations: 47.86 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.003805, allocations: 16 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.003864, allocations: 27.98 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.003891, allocations: 19.92 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.00395, allocations: 44.44 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.004125, allocations: 131.5 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004127, allocations: 0.7188 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004128, allocations: 0 / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004132, allocations: 0.5312 kB / 0.8143 GB, free: 14.81 MB / 0.7761 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.0004682/0.0046, allocations: 467.5 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.004637, allocations: 8.031 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.004689, allocations: 16.89 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.004942, allocations: 169.2 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.004962, allocations: 13.06 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.004984, allocations: 16.38 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.005113, allocations: 89.73 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.005122, allocations: 0.75 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005133, allocations: 4.375 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.005142, allocations: 8.656 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.005197, allocations: 25.34 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.005568, allocations: 371.4 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.005645, allocations: 48.8 kB / 0.8155 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.005675, allocations: 27.73 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.005687, allocations: 4 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.647e-05/0.005763, allocations: 74 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.005764, allocations: 0 / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001865/0.005951, allocations: 90.58 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.005982, allocations: 59.33 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.006081, allocations: 202 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.006097, allocations: 25.7 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.006165, allocations: 154.8 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.006181, allocations: 28.75 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.006231, allocations: 43.36 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006344, allocations: 0.4884 MB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.006419, allocations: 63.89 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.006497, allocations: 108.3 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.00659, allocations: 112.3 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006592, allocations: 3.219 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001941/0.006787, allocations: 204.9 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.006813, allocations: 33.7 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.006818, allocations: 0 / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.006832, allocations: 0 / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.006896, allocations: 15.98 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.006901, allocations: 400 / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.006983, allocations: 33 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.006998, allocations: 12.52 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.007071, allocations: 169 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.007082, allocations: 7.953 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.007111, allocations: 13 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007113, allocations: 0.9688 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007116, allocations: 0 / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.007121, allocations: 8.891 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.007205, allocations: 140.6 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007207, allocations: 3.984 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.007234, allocations: 8.656 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007236, allocations: 4 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007242, allocations: 0.9062 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007243, allocations: 0 / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007244, allocations: 5.094 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.007357, allocations: 128.2 kB / 0.8177 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.007365, allocations: 7.953 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007375, allocations: 1.031 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.007394, allocations: 3.984 kB / 0.8177 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.007428, allocations: 13.08 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.007433, allocations: 4 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.00748, allocations: 135.2 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00748, allocations: 1.062 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001502/0.00763, allocations: 39.83 kB / 0.8179 GB, free: 10.84 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.801e-05/0.007728, allocations: 100.3 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.007908, allocations: 165.3 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007909, allocations: 1.406 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.007946, allocations: 35.56 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.008096, allocations: 17.61 kB / 0.8182 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.008388, allocations: 198.4 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.008421, allocations: 64.53 kB / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.008454, allocations: 12.89 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.00848, allocations: 16.5 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.00848, allocations: 0 / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.003245/0.01173, allocations: 1.646 MB / 0.8201 GB, free: 8.598 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.343390292022377]