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.0008967/0.0008967, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009188/0.0009188, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 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.971/0.971, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.464e-06/2.464e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.783e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002479/0.002507, allocations: 0.8719 MB / 0.7609 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.004477, allocations: 1.215 MB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.004562, allocations: 4.719 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.004601, allocations: 8.641 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.00471, allocations: 18.62 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.005256, allocations: 140.2 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.005526, allocations: 162.8 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.005676, allocations: 47.11 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.005847, allocations: 83.88 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.00596, allocations: 49.23 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.00599, allocations: 15.94 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.006062, allocations: 21.44 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.006093, allocations: 23.91 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.00615, allocations: 43.89 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.006659, allocations: 107.7 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.006663, allocations: 4.562 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.355e-06/0.006666, allocations: 3.938 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.006673, allocations: 4.562 kB / 0.7628 GB, free: 3.773 MB / 0.7136 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.0004698/0.007143, allocations: 343.4 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.007181, allocations: 12.03 kB / 0.7632 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.007221, allocations: 14.02 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.007393, allocations: 137.6 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.007411, allocations: 4.375 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.007431, allocations: 13.62 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.007568, allocations: 92.39 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.007576, allocations: 192 / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.007586, allocations: 1.406 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.007593, allocations: 8.125 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.007627, allocations: 19.97 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.007926, allocations: 234.3 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.007987, allocations: 38.55 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.00801, allocations: 18.2 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.008024, allocations: 4 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.166e-05/0.008105, allocations: 67.3 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.008106, allocations: 1.344 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001269/0.008233, allocations: 65.67 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.008261, allocations: 55.41 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.008336, allocations: 138.2 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.008353, allocations: 25.7 kB / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.008401, allocations: 108.8 kB / 0.7642 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.008418, allocations: 31.72 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.008464, allocations: 38.44 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.008544, allocations: 326.8 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.008593, allocations: 54.5 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.008644, allocations: 77.12 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/0.008717, allocations: 94.33 kB / 0.7647 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008719, allocations: 2.156 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001291/0.008848, allocations: 164.9 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.008873, allocations: 33.7 kB / 0.7649 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.008881, allocations: 15.92 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.008891, allocations: 2.438 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.008953, allocations: 12 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.008957, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.009034, allocations: 27.97 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.009045, allocations: 4 kB / 0.765 GB, free: 1.332 MB / 0.7136 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 6.842e-05/0.009113, allocations: 123.8 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.009122, allocations: 7.984 kB / 0.7651 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.009151, allocations: 12.44 kB / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009152, allocations: 0 / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009154, allocations: 3.938 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.009157, allocations: 1.031 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.00923, allocations: 93.75 kB / 0.7652 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.009232, allocations: 4.922 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.009258, allocations: 8 kB / 0.7652 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009262, allocations: 7.984 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.009268, allocations: 4.875 kB / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.009269, allocations: 0 / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009269, allocations: 2.75 kB / 0.7653 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.945e-05/0.009339, allocations: 81.05 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.00935, allocations: 15.92 kB / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.009358, allocations: 0 / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.734e-05/0.009375, allocations: 8 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.0094, allocations: 11.92 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.009404, allocations: 0 / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.877e-05/0.009422, allocations: 23.62 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009422, allocations: 0 / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001152/0.009538, allocations: 27.94 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 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 0.0001083/0.009646, allocations: 84.41 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.009793, allocations: 156.3 kB / 0.7656 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.009795, allocations: 0 / 0.7656 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.009825, allocations: 24.98 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.009932, allocations: 24.61 kB / 0.7657 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.01025, allocations: 197.3 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.01028, allocations: 64.09 kB / 0.7659 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.01032, allocations: 11.77 kB / 0.766 GB, free: 248 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.0104, allocations: 71.36 kB / 0.766 GB, free: 176 kB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/0.0104, allocations: 0 / 0.766 GB, free: 176 kB / 0.7136 GB Notification: Performance of Templates: time 0.003309/0.01371, allocations: 1.736 MB / 0.7677 GB, free: 14.58 MB / 0.7292 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: 4.991269978694618]