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.001877/0.001877, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.001446/0.001446, allocations: 213.2 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.678/1.678, allocations: 230.6 MB / 256.8 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.531/3.531, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 69.75 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5385, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004181/0.5427, allocations: 2.886 MB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.5446, allocations: 1.146 MB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.5448, allocations: 23.81 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.545, allocations: 91.06 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.5453, allocations: 115 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.5459, allocations: 360.6 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006391/0.5466, allocations: 0.6441 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.5468, allocations: 158.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.5472, allocations: 243 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.5474, allocations: 186.8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.5474, allocations: 52 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.5475, allocations: 60 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.5476, allocations: 107.6 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.5478, allocations: 186.9 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.5485, allocations: 0.7002 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5485, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5485, allocations: 4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.5485, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 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.001177/0.5497, allocations: 0.7653 MB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.5497, allocations: 8.031 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.55, allocations: 92.48 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.5508, allocations: 467.5 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5508, allocations: 25.03 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.5509, allocations: 28.38 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.5515, allocations: 422.7 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5515, allocations: 3.938 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.5515, allocations: 12 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5515, allocations: 15.98 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.5521, allocations: 246.4 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.5535, allocations: 1.27 MB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.5541, allocations: 256.4 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.5544, allocations: 129.4 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.5544, allocations: 0 / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5544, allocations: 34.56 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 9.72e-07/0.5544, allocations: 4 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008064/0.5552, allocations: 363.1 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.5553, allocations: 55.41 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.5557, allocations: 429.8 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5557, allocations: 29.7 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.5559, allocations: 260.5 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.556, allocations: 87.27 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/0.5561, allocations: 61.92 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5562, allocations: 350.7 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.5564, allocations: 96.5 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.5567, allocations: 156.8 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.5573, allocations: 281.2 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5573, allocations: 4 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006622/0.5579, allocations: 338.8 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.558, allocations: 8 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.558, allocations: 256 / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.558, allocations: 8 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.5583, allocations: 67.89 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.5583, allocations: 11.92 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.5585, allocations: 31.83 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.5585, allocations: 8 kB / 1.34 GB, free: 3.395 MB / 1.029 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.0002103/0.5587, allocations: 182.2 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.5588, allocations: 43.72 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.5589, allocations: 52.09 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5589, allocations: 4 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5589, allocations: 0 / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5589, allocations: 0 / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.5593, allocations: 321 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5593, allocations: 0 / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.5596, allocations: 55.89 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5596, allocations: 0 / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.5596, allocations: 4 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5596, allocations: 0 / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5596, allocations: 4 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.5605, allocations: 0.5005 MB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5606, allocations: 67.66 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.5607, allocations: 0 / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.5608, allocations: 16.05 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.5609, allocations: 19.97 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5609, allocations: 4 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003346/0.5613, allocations: 299.1 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5613, allocations: 0 / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000332/0.5616, allocations: 71.78 kB / 1.342 GB, free: 1.715 MB / 1.029 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.0001329/0.5617, allocations: 111.2 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005983/0.5623, allocations: 242 kB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5623, allocations: 0 / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.5626, allocations: 109.5 kB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.5633, allocations: 138.2 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.5647, allocations: 0.7654 MB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.5649, allocations: 220.3 kB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.565, allocations: 35.42 kB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.565, allocations: 0 / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of Templates: time 0.01112/0.5762, allocations: 5.617 MB / 1.349 GB, free: 10.48 MB / 1.045 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.406549790874124]