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.001287/0.001287, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001431/0.001431, allocations: 169 kB / 24.28 MB, free: 280 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.9723/0.9723, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.923/1.923, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.863e-06/1.863e-06, allocations: 0 / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.496e-05, allocations: 3.375 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.007856/0.007881, allocations: 0.878 MB / 0.8124 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.009299, allocations: 1.218 MB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.009382, allocations: 0 / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.009418, allocations: 7.875 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.009501, allocations: 11.88 kB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.009972, allocations: 148.3 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.01017, allocations: 148.7 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00613/0.0163, allocations: 37.75 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.01645, allocations: 97.25 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.01655, allocations: 39.88 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.01658, allocations: 16 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.01665, allocations: 31.92 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.01667, allocations: 17.73 kB / 0.8142 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.01674, allocations: 47.89 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.01694, allocations: 131.5 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01695, allocations: 0 / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01695, allocations: 0 / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.01695, allocations: 1.375 kB / 0.8143 GB, free: 15.2 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.0005561/0.01751, allocations: 465.9 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01755, allocations: 12.03 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.01762, allocations: 14.61 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.01792, allocations: 160.6 kB / 0.815 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.01794, allocations: 12.38 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.01797, allocations: 13.72 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.01813, allocations: 90.81 kB / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.01814, allocations: 192 / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.01815, allocations: 6.281 kB / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01816, allocations: 7.938 kB / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.01823, allocations: 23.97 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.01868, allocations: 371.4 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/0.01878, allocations: 49.39 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.01882, allocations: 23.8 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.01884, allocations: 7.938 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.01894, allocations: 77.86 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.01895, allocations: 0 / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002182/0.01916, allocations: 86.17 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001091/0.02026, allocations: 57.06 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.02039, allocations: 197.7 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.02041, allocations: 33.64 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.02049, allocations: 150.8 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.02051, allocations: 27.78 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.02058, allocations: 44.02 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.02071, allocations: 0.4896 MB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.02078, allocations: 61.67 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.02086, allocations: 108.4 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.02096, allocations: 105.5 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02096, allocations: 1.156 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002067/0.02117, allocations: 209.4 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.0212, allocations: 36.36 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.0212, allocations: 0.5 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.02121, allocations: 0.8438 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.02129, allocations: 15.98 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.0213, allocations: 1.234 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.02138, allocations: 33.59 kB / 0.8172 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.0214, allocations: 11.98 kB / 0.8172 GB, free: 11.98 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.342e-05/0.02147, allocations: 164.5 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.02148, allocations: 7.953 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.02151, allocations: 13.25 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.02151, allocations: 0 / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02151, allocations: 2.25 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.02152, allocations: 3.938 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.172e-05/0.02161, allocations: 148.5 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.02161, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.02164, allocations: 15.98 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.02164, allocations: 3.984 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.02165, allocations: 6.031 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02165, allocations: 3.984 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.02165, allocations: 0 / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.02176, allocations: 124.2 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.02177, allocations: 7.953 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.02178, allocations: 0.5 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.0218, allocations: 8.516 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.02183, allocations: 4 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.02184, allocations: 9.672 kB / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.02189, allocations: 140.9 kB / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02189, allocations: 0 / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001491/0.02203, allocations: 35.83 kB / 0.8179 GB, free: 11.23 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 0.0001084/0.02214, allocations: 101.1 kB / 0.818 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.02232, allocations: 164.7 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02232, allocations: 0.6562 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.02236, allocations: 35.61 kB / 0.8182 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.02252, allocations: 21.22 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.02285, allocations: 201.9 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.02289, allocations: 63.34 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.02292, allocations: 10.58 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.02295, allocations: 16.5 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.02295, allocations: 0 / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.003294/0.02624, allocations: 1.639 MB / 0.8201 GB, free: 9.004 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.192883057054132]