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.001355/0.001355, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001633/0.001633, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9164/0.9164, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.838/1.838, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 3.116e-06/3.116e-06, allocations: 0 / 0.8116 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.339e-05, allocations: 6.25 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.002199/0.002233, allocations: 0.8843 MB / 0.8125 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.003986, allocations: 1.214 MB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.004073, allocations: 4.562 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.004121, allocations: 8.562 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.004228, allocations: 12.77 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.004786, allocations: 147.5 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.005035, allocations: 152.3 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.005186, allocations: 38.95 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.005354, allocations: 91.8 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005477, allocations: 53.23 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.005513, allocations: 12 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.00559, allocations: 27.94 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.005626, allocations: 19.92 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.005693, allocations: 41.42 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.005943, allocations: 107.7 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005946, allocations: 4 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005947, allocations: 0 / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.005953, allocations: 0.5938 kB / 0.8143 GB, free: 14.83 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.0007126/0.006665, allocations: 475 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.006711, allocations: 8.031 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.006787, allocations: 21.7 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.007008, allocations: 140.5 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.007035, allocations: 12.38 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.007062, allocations: 13 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.007273, allocations: 94.36 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.007283, allocations: 4.125 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.0073, allocations: 4.375 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.007312, allocations: 8.875 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.007387, allocations: 19.98 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.00794, allocations: 377.4 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.008058, allocations: 47.05 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.008104, allocations: 21.69 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.008125, allocations: 4 kB / 0.8155 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.008255, allocations: 76.95 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.008256, allocations: 4 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002665/0.008523, allocations: 95.16 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.008572, allocations: 51.41 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.008744, allocations: 193.8 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.00877, allocations: 26.27 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.008871, allocations: 158.8 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.008895, allocations: 24.36 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.008971, allocations: 44.7 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.009132, allocations: 0.4922 MB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.009237, allocations: 65.61 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.009352, allocations: 100.4 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.009499, allocations: 111.6 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.009503, allocations: 0 / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003279/0.009831, allocations: 200.9 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.00987, allocations: 33.7 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.009877, allocations: 0.5312 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.009898, allocations: 4.719 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.01001, allocations: 15.98 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01001, allocations: 5.375 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01014, allocations: 27.81 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.01016, allocations: 16.8 kB / 0.8172 GB, free: 11.62 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 0.0001042/0.01027, allocations: 160.6 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.01029, allocations: 12.89 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.01032, allocations: 12.38 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01032, allocations: 1.344 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01033, allocations: 0 / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.01034, allocations: 7.984 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.01046, allocations: 148.5 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01046, allocations: 4.969 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.01051, allocations: 8 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01051, allocations: 2.312 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.01052, allocations: 4 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01052, allocations: 0 / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01052, allocations: 0 / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.01068, allocations: 116.3 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.0107, allocations: 7.953 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01071, allocations: 3.438 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.01074, allocations: 15.92 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.01079, allocations: 3.984 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.01079, allocations: 4 kB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.688e-05/0.01086, allocations: 140.9 kB / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01086, allocations: 0 / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002738/0.01113, allocations: 31.89 kB / 0.8179 GB, free: 10.89 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.0001354/0.01127, allocations: 107.9 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.01151, allocations: 169.2 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01152, allocations: 1.031 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.01157, allocations: 27.67 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.0118, allocations: 16.98 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.0122, allocations: 203.4 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.01224, allocations: 63.84 kB / 0.8184 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.01229, allocations: 11.3 kB / 0.8184 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.01233, allocations: 16.5 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.01233, allocations: 1.094 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.004463/0.01679, allocations: 1.781 MB / 0.8202 GB, free: 8.52 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.0724161779507995]