Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 114.4 kB / 17.08 MB, free: 5.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 194.2 kB / 20.03 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.448/3.448, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003035/0.003035, allocations: 64.05 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852/1.855, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004947/1.86, allocations: 3.121 MB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002454/1.863, allocations: 1.089 MB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/1.863, allocations: 20.22 kB / 1.267 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/1.863, allocations: 93.58 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/1.864, allocations: 105.6 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/1.864, allocations: 338.2 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007942/1.865, allocations: 0.6385 MB / 1.268 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/1.866, allocations: 257.6 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/1.866, allocations: 219.6 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/1.866, allocations: 202 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/1.866, allocations: 53.16 kB / 1.269 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/1.867, allocations: 52.91 kB / 1.269 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/1.867, allocations: 114.8 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/1.867, allocations: 241.6 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009676/1.868, allocations: 0.6897 MB / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.868, allocations: 4.547 kB / 1.27 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/1.868, allocations: 4.75 kB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.868, allocations: 0 / 1.27 GB, free: 3.352 MB / 0.9981 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.001393/1.869, allocations: 0.8321 MB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.869, allocations: 9.5 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/1.869, allocations: 60.78 kB / 1.27 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/1.87, allocations: 0.5152 MB / 1.271 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/1.87, allocations: 24.06 kB / 1.271 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/1.87, allocations: 28.91 kB / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/1.871, allocations: 374.9 kB / 1.271 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.871, allocations: 0.75 kB / 1.271 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.871, allocations: 10.91 kB / 1.271 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/1.871, allocations: 7.594 kB / 1.271 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/1.872, allocations: 258 kB / 1.272 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/1.873, allocations: 1.426 MB / 1.273 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/1.874, allocations: 271.4 kB / 1.273 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/1.875, allocations: 138.8 kB / 1.273 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/1.875, allocations: 2.812 kB / 1.273 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/1.875, allocations: 40.19 kB / 1.273 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/1.875, allocations: 0 / 1.273 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009736/1.876, allocations: 366.3 kB / 1.274 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.876, allocations: 57.91 kB / 1.274 GB, free: 440 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/1.876, allocations: 413.1 kB / 1.274 GB, free: 236 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/1.876, allocations: 30.58 kB / 1.274 GB, free: 200 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/1.876, allocations: 264.1 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/1.877, allocations: 87.81 kB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.877, allocations: 58.94 kB / 1.275 GB, free: 15.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.877, allocations: 357.2 kB / 1.275 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/1.877, allocations: 95.39 kB / 1.275 GB, free: 15.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/1.878, allocations: 157.3 kB / 1.275 GB, free: 15.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/1.878, allocations: 276 kB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.878, allocations: 0.8125 kB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000771/1.879, allocations: 341.8 kB / 1.276 GB, free: 15.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.879, allocations: 6.094 kB / 1.276 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.879, allocations: 2.656 kB / 1.276 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.879, allocations: 7.312 kB / 1.276 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/1.879, allocations: 64.09 kB / 1.276 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.879, allocations: 7.219 kB / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/1.88, allocations: 36.06 kB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/1.88, allocations: 8.812 kB / 1.276 GB, free: 15.04 MB / 1.014 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.conFan.I.trigger_internal,conHeaFan.conHeaCoi.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.0002228/1.88, allocations: 177.7 kB / 1.276 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/1.88, allocations: 44.44 kB / 1.276 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/1.88, allocations: 47.84 kB / 1.276 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.88, allocations: 2.75 kB / 1.276 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.88, allocations: 0 / 1.276 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.88, allocations: 6.156 kB / 1.276 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/1.881, allocations: 435.2 kB / 1.277 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.881, allocations: 1.156 kB / 1.277 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/1.881, allocations: 47.73 kB / 1.277 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.881, allocations: 0 / 1.277 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/1.881, allocations: 8.719 kB / 1.277 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.881, allocations: 0 / 1.277 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.881, allocations: 1.219 kB / 1.277 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/1.882, allocations: 0.5079 MB / 1.277 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/1.882, allocations: 142.2 kB / 1.277 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/1.882, allocations: 10.53 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.883, allocations: 12.5 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/1.883, allocations: 17.83 kB / 1.277 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/1.883, allocations: 14.2 kB / 1.277 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000396/1.883, allocations: 289.9 kB / 1.278 GB, free: 13.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.883, allocations: 0 / 1.278 GB, free: 13.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003687/1.883, allocations: 73.41 kB / 1.278 GB, free: 13.88 MB / 1.014 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 0.0001445/1.884, allocations: 106.3 kB / 1.278 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006827/1.884, allocations: 240.1 kB / 1.278 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.884, allocations: 0.6875 kB / 1.278 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/1.885, allocations: 119.7 kB / 1.278 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/1.885, allocations: 125.6 kB / 1.278 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/1.887, allocations: 0.7677 MB / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/1.888, allocations: 0.8192 MB / 1.28 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/1.888, allocations: 35.09 kB / 1.28 GB, free: 12.45 MB / 1.014 GB Notification: Performance of SimCode: time 4.779e-06/1.888, allocations: 3.594 kB / 1.28 GB, free: 12.45 MB / 1.014 GB Notification: Performance of Templates: time 0.01317/1.901, allocations: 5.377 MB / 1.285 GB, free: 11.8 MB / 1.014 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.346600292017683]