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.0009703/0.0009703, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001053/0.001053, allocations: 162.7 kB / 24.86 MB, free: 9.285 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.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.968/1.968, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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 2.314e-06/2.314e-06, allocations: 0 / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.772e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001711/0.001739, allocations: 0.8743 MB / 0.8137 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.003213, allocations: 1.207 MB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.003276, allocations: 4 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.00331, allocations: 7.875 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.00339, allocations: 11.86 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.003795, allocations: 152.4 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003956, allocations: 152.6 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004074, allocations: 37.73 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.004201, allocations: 97.27 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.004291, allocations: 43.88 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.004316, allocations: 15.98 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.018e-05/0.004376, allocations: 25.69 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.004402, allocations: 19.92 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.004446, allocations: 39.89 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.004612, allocations: 111.6 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004615, allocations: 5.75 kB / 0.8156 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004616, allocations: 0 / 0.8156 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.004621, allocations: 0 / 0.8156 GB, free: 14.61 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.0004459/0.005067, allocations: 469.9 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.005102, allocations: 9.375 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.005145, allocations: 16.89 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.005283, allocations: 144.5 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.005299, allocations: 14.78 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.005316, allocations: 12.31 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005448, allocations: 90.86 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.005455, allocations: 4.188 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.005464, allocations: 4.375 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.00547, allocations: 8.062 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.005508, allocations: 23.28 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.005835, allocations: 344.6 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.005907, allocations: 48.7 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.005931, allocations: 19.66 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.005944, allocations: 7.938 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/0.006032, allocations: 65.83 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.006034, allocations: 5.219 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000157/0.006191, allocations: 81.78 kB / 0.8169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.006221, allocations: 60.5 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.006308, allocations: 193.8 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.006325, allocations: 25.7 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.006394, allocations: 156.1 kB / 0.8173 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.00641, allocations: 23.8 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.006464, allocations: 47.33 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.006574, allocations: 0.4883 MB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.006631, allocations: 58.83 kB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.006696, allocations: 100.3 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.006782, allocations: 105.7 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006784, allocations: 0 / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001868/0.006971, allocations: 197.7 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.007001, allocations: 31.48 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007006, allocations: 4 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.007013, allocations: 0 / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.007081, allocations: 15.98 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007084, allocations: 0.8125 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.00717, allocations: 34.23 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.007183, allocations: 4 kB / 0.8184 GB, free: 11.48 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 8.188e-05/0.007265, allocations: 172.5 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.007278, allocations: 7.953 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.007305, allocations: 12.42 kB / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007309, allocations: 6.031 kB / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00731, allocations: 0 / 0.8185 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.007317, allocations: 3.938 kB / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.00741, allocations: 121.1 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007412, allocations: 0 / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.007448, allocations: 15.98 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00745, allocations: 0.5 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.007455, allocations: 0.5 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007456, allocations: 2.297 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007457, allocations: 0 / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.007573, allocations: 128.2 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.007582, allocations: 3.953 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.007593, allocations: 7.984 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.007613, allocations: 8.719 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.00764, allocations: 7.984 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.007644, allocations: 0.6562 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.007687, allocations: 141.5 kB / 0.819 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007687, allocations: 3.562 kB / 0.819 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001536/0.007841, allocations: 31.89 kB / 0.819 GB, free: 10.77 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.0001202/0.007961, allocations: 103.2 kB / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.008116, allocations: 160.7 kB / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008118, allocations: 0 / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.008147, allocations: 27.61 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.008308, allocations: 26.02 kB / 0.8193 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.008596, allocations: 199.3 kB / 0.8195 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.083e-05/0.008627, allocations: 67.33 kB / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.008659, allocations: 6.656 kB / 0.8196 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.008744, allocations: 95.3 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.008745, allocations: 0 / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003718/0.01246, allocations: 1.826 MB / 0.8214 GB, free: 8.285 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.325852308887988]