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.001516/0.001516, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001794/0.001794, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.487/3.487, allocations: 0.49 GB / 0.7958 GB, free: 33.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.002103/0.002103, allocations: 68.66 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5491, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005816/0.5549, allocations: 3.16 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.5579, allocations: 1.188 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.5586, allocations: 31.75 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.559, allocations: 87.12 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.5594, allocations: 111 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000984/0.5603, allocations: 378.8 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007572/0.5611, allocations: 0.6402 MB / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.5615, allocations: 170.2 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.5618, allocations: 243 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.5621, allocations: 206.8 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.5622, allocations: 52 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.5623, allocations: 60 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.5624, allocations: 115.5 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.5626, allocations: 238.6 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000818/0.5634, allocations: 0.6924 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5634, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5634, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5635, allocations: 0 / 1.334 GB, free: 10.09 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.001374/0.5648, allocations: 0.7653 MB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5649, allocations: 8.031 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/0.5652, allocations: 96.42 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/0.5662, allocations: 471.5 kB / 1.336 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5662, allocations: 25.03 kB / 1.336 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.5663, allocations: 24.38 kB / 1.336 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.567, allocations: 375.3 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.567, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.567, allocations: 12 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.567, allocations: 8 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.5676, allocations: 258.4 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.5696, allocations: 1.391 MB / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.5703, allocations: 255.7 kB / 1.338 GB, free: 6.273 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.5706, allocations: 130.6 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5706, allocations: 8 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5706, allocations: 34.5 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.5706, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009187/0.5716, allocations: 368 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.5716, allocations: 55.41 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.5721, allocations: 421.9 kB / 1.339 GB, free: 5.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5721, allocations: 25.7 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.5724, allocations: 260.4 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.5724, allocations: 91.2 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5725, allocations: 53.98 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5727, allocations: 354.7 kB / 1.34 GB, free: 4.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.573, allocations: 96.52 kB / 1.34 GB, free: 4.355 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.5732, allocations: 164.7 kB / 1.34 GB, free: 4.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.5738, allocations: 277.3 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5738, allocations: 0 / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006876/0.5745, allocations: 345 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5745, allocations: 4 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5745, allocations: 7.984 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5745, allocations: 4 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.5748, allocations: 59.91 kB / 1.341 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5748, allocations: 4 kB / 1.341 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.575, allocations: 40 kB / 1.341 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5751, allocations: 11.98 kB / 1.341 GB, free: 3.398 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.0002437/0.5753, allocations: 170.3 kB / 1.341 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.5754, allocations: 47.67 kB / 1.341 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.5755, allocations: 48.09 kB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.5755, allocations: 4 kB / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5755, allocations: 0 / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5755, allocations: 3.938 kB / 1.341 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.576, allocations: 404.3 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.576, allocations: 12 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.5763, allocations: 47.89 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.5763, allocations: 4 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.5763, allocations: 4 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5763, allocations: 0 / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5763, allocations: 0 / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/0.5773, allocations: 0.5145 MB / 1.342 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.5774, allocations: 63.66 kB / 1.342 GB, free: 2.023 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.5774, allocations: 7.938 kB / 1.342 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.5776, allocations: 15.98 kB / 1.342 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.5777, allocations: 15.97 kB / 1.342 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.5777, allocations: 12 kB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003532/0.5781, allocations: 295.1 kB / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5781, allocations: 0 / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003233/0.5784, allocations: 67.78 kB / 1.342 GB, free: 1.621 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.0001465/0.5785, allocations: 107.2 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005899/0.5791, allocations: 231.8 kB / 1.343 GB, free: 1.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5791, allocations: 0 / 1.343 GB, free: 1.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.5794, allocations: 115.7 kB / 1.343 GB, free: 1.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.5801, allocations: 125.9 kB / 1.343 GB, free: 1.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.5815, allocations: 0.7726 MB / 1.344 GB, free: 252 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.582, allocations: 0.8272 MB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.5821, allocations: 35.42 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.5821, allocations: 0 / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of Templates: time 0.0087/0.5908, allocations: 5.444 MB / 1.35 GB, free: 9.957 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.430068236979423]