Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.0009494/0.0009494, allocations: 80.39 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.00104/0.00104, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9322/0.9322, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.773/1.773, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.949e-05, allocations: 2.312 kB / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003119/0.003138, allocations: 2.965 MB / 0.8157 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.00454, allocations: 1.164 MB / 0.8168 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.004739, allocations: 27.75 kB / 0.8168 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.004934, allocations: 87.14 kB / 0.8169 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.005092, allocations: 129.9 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.005554, allocations: 352.8 kB / 0.8174 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.005964, allocations: 0.6479 MB / 0.818 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.006169, allocations: 158.4 kB / 0.8181 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.006488, allocations: 340.4 kB / 0.8185 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.006619, allocations: 143.4 kB / 0.8186 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.006663, allocations: 48.56 kB / 0.8187 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.006723, allocations: 51.98 kB / 0.8187 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.006773, allocations: 101 kB / 0.8188 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.006854, allocations: 135.5 kB / 0.8189 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.007153, allocations: 366.4 kB / 0.8193 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007155, allocations: 0.5 kB / 0.8193 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.007156, allocations: 4 kB / 0.8193 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.007162, allocations: 0.5312 kB / 0.8193 GB, free: 9.633 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007039/0.007865, allocations: 0.8377 MB / 0.8201 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.007896, allocations: 12.03 kB / 0.8201 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.008088, allocations: 104.5 kB / 0.8202 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.008526, allocations: 490.1 kB / 0.8207 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.008541, allocations: 21.03 kB / 0.8207 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.008574, allocations: 32.38 kB / 0.8207 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.008863, allocations: 349.3 kB / 0.8211 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008873, allocations: 192 / 0.8211 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.008892, allocations: 13.16 kB / 0.8211 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.984e-05/0.008982, allocations: 11.94 kB / 0.8211 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.009096, allocations: 93.61 kB / 0.8212 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.009973, allocations: 1.495 MB / 0.8226 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.01021, allocations: 156.5 kB / 0.8228 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.01031, allocations: 73.52 kB / 0.8229 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.01032, allocations: 4 kB / 0.8229 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.01034, allocations: 37.39 kB / 0.8229 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.072e-06/0.01034, allocations: 0 / 0.8229 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.000258/0.0106, allocations: 197.3 kB / 0.8231 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.01063, allocations: 55.41 kB / 0.8231 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.01086, allocations: 438.3 kB / 0.8236 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.01088, allocations: 33.7 kB / 0.8236 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01101, allocations: 307.1 kB / 0.8239 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.01106, allocations: 87.22 kB / 0.824 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.01112, allocations: 68.69 kB / 0.824 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.01125, allocations: 0.5234 MB / 0.8245 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.01129, allocations: 28.53 kB / 0.8246 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.01137, allocations: 119.4 kB / 0.8247 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01152, allocations: 170.9 kB / 0.8248 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01152, allocations: 0 / 0.8248 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002235/0.01175, allocations: 229.5 kB / 0.8251 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01176, allocations: 4.781 kB / 0.8251 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01177, allocations: 4 kB / 0.8251 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01178, allocations: 4.656 kB / 0.8251 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01192, allocations: 56.56 kB / 0.8251 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01192, allocations: 11.92 kB / 0.8251 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.012, allocations: 27 kB / 0.8252 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01201, allocations: 12 kB / 0.8252 GB, free: 3.266 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conHeaCoi.I.trigger_internal,conHeaFan.conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001125/0.01213, allocations: 180.4 kB / 0.8254 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.01218, allocations: 63.61 kB / 0.8254 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.01223, allocations: 44.11 kB / 0.8255 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01224, allocations: 4 kB / 0.8255 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01224, allocations: 2.406 kB / 0.8255 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01224, allocations: 3.984 kB / 0.8255 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.01246, allocations: 249 kB / 0.8257 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01246, allocations: 0 / 0.8257 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01258, allocations: 47.91 kB / 0.8257 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01258, allocations: 3.938 kB / 0.8258 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01259, allocations: 5 kB / 0.8258 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01259, allocations: 4 kB / 0.8258 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01259, allocations: 0 / 0.8258 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.01288, allocations: 354.9 kB / 0.8261 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.01294, allocations: 73.45 kB / 0.8262 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.01297, allocations: 7.938 kB / 0.8262 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.01305, allocations: 11.98 kB / 0.8262 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.01308, allocations: 15.97 kB / 0.8262 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01309, allocations: 11.94 kB / 0.8262 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001309/0.01322, allocations: 277.3 kB / 0.8265 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 0 / 0.8265 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001911/0.01342, allocations: 63.83 kB / 0.8265 GB, free: 1.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.972e-05/0.0135, allocations: 111.2 kB / 0.8266 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01366, allocations: 129.6 kB / 0.8268 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.01366, allocations: 0 / 0.8268 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.01373, allocations: 70.42 kB / 0.8268 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.01411, allocations: 134.2 kB / 0.827 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.01498, allocations: 0.6858 MB / 0.8276 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.01505, allocations: 109.3 kB / 0.8277 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.01516, allocations: 47.25 kB / 0.8278 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.01533, allocations: 154.1 kB / 0.8279 GB, free: 356 kB / 0.7292 GB Notification: Performance of SimCode: time 1.312e-06/0.01533, allocations: 0 / 0.8279 GB, free: 356 kB / 0.7292 GB Notification: Performance of Templates: time 0.006281/0.02161, allocations: 4.498 MB / 0.8323 GB, free: 11.99 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.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.930667481850833]