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.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.0009658/0.0009658, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009523/0.0009523, allocations: 177 kB / 23.36 MB, free: 1.129 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.8918/0.8918, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.215/2.215, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.373e-06/1.373e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.538e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00401/0.004025, allocations: 2.968 MB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.006289, allocations: 1.188 MB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.006598, allocations: 31.75 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.006844, allocations: 95.06 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.007093, allocations: 111 kB / 0.8429 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007129/0.007806, allocations: 363.4 kB / 0.8432 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007734/0.008579, allocations: 0.6478 MB / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.008871, allocations: 156.4 kB / 0.844 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.009376, allocations: 343 kB / 0.8443 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.009575, allocations: 139.5 kB / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.00964, allocations: 48 kB / 0.8445 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.009722, allocations: 55.98 kB / 0.8445 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.009797, allocations: 99.56 kB / 0.8446 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.009915, allocations: 143.5 kB / 0.8448 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.01032, allocations: 354.5 kB / 0.8451 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01032, allocations: 0 / 0.8451 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01032, allocations: 0 / 0.8451 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.01033, allocations: 0 / 0.8451 GB, free: 7.477 MB / 0.8073 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.0009001/0.01123, allocations: 0.7209 MB / 0.8458 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.01126, allocations: 12.62 kB / 0.8458 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.01152, allocations: 80.86 kB / 0.8459 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.01208, allocations: 408.8 kB / 0.8463 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.01211, allocations: 21.03 kB / 0.8463 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.01215, allocations: 28.38 kB / 0.8463 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.01254, allocations: 326.9 kB / 0.8467 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01255, allocations: 192 / 0.8467 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.01257, allocations: 12.38 kB / 0.8467 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01259, allocations: 15.88 kB / 0.8467 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.01275, allocations: 84.48 kB / 0.8468 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.0138, allocations: 1.009 MB / 0.8477 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.01408, allocations: 130.4 kB / 0.8479 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.0142, allocations: 72.69 kB / 0.8479 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.01422, allocations: 4 kB / 0.8479 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01425, allocations: 38.56 kB / 0.848 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.01425, allocations: 0 / 0.848 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002903/0.01454, allocations: 145.5 kB / 0.8481 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01457, allocations: 55.41 kB / 0.8482 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.01487, allocations: 383.1 kB / 0.8485 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01489, allocations: 33.7 kB / 0.8486 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01501, allocations: 197.7 kB / 0.8488 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.01506, allocations: 87.2 kB / 0.8488 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.01514, allocations: 61.95 kB / 0.8489 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01526, allocations: 362.7 kB / 0.8492 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.01532, allocations: 28.48 kB / 0.8493 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.01541, allocations: 89.89 kB / 0.8494 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.01559, allocations: 147.5 kB / 0.8495 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01559, allocations: 0 / 0.8495 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002558/0.01585, allocations: 171.7 kB / 0.8497 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01586, allocations: 10.19 kB / 0.8497 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01587, allocations: 256 / 0.8497 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.01588, allocations: 8 kB / 0.8497 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.01608, allocations: 59.91 kB / 0.8497 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01609, allocations: 7.984 kB / 0.8497 GB, free: 2.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01621, allocations: 27.83 kB / 0.8498 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.01623, allocations: 11.94 kB / 0.8498 GB, free: 2.418 MB / 0.8073 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.0001133/0.01634, allocations: 125.7 kB / 0.8499 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.0164, allocations: 35.91 kB / 0.8499 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.01647, allocations: 48.09 kB / 0.85 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.01648, allocations: 11.98 kB / 0.85 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01648, allocations: 0 / 0.85 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01648, allocations: 0 / 0.85 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.01678, allocations: 225.5 kB / 0.8502 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01678, allocations: 7.938 kB / 0.8502 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.01695, allocations: 35.98 kB / 0.8503 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01695, allocations: 3.984 kB / 0.8503 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01697, allocations: 11.94 kB / 0.8503 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.01697, allocations: 4 kB / 0.8503 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01697, allocations: 0 / 0.8503 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.01734, allocations: 270.1 kB / 0.8505 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.01743, allocations: 43.72 kB / 0.8506 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.01747, allocations: 3.938 kB / 0.8506 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.01758, allocations: 11.98 kB / 0.8506 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.01763, allocations: 19.97 kB / 0.8506 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.01764, allocations: 0 / 0.8506 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001631/0.0178, allocations: 164.7 kB / 0.8508 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.0178, allocations: 0 / 0.8508 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003159/0.01812, allocations: 71.78 kB / 0.8508 GB, free: 1.297 MB / 0.8073 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 9.629e-05/0.01821, allocations: 92.39 kB / 0.8509 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.01842, allocations: 116.5 kB / 0.851 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01842, allocations: 4 kB / 0.851 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.0185, allocations: 56.77 kB / 0.8511 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.01896, allocations: 134.2 kB / 0.8512 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.02014, allocations: 0.6919 MB / 0.8519 GB, free: 184 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.81e-05/0.02022, allocations: 105.3 kB / 0.852 GB, free: 60 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.0204, allocations: 55.25 kB / 0.852 GB, free: 0 / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.0207, allocations: 123.3 kB / 0.8522 GB, free: 15.88 MB / 0.823 GB Notification: Performance of SimCode: time 6.71e-07/0.0207, allocations: 0 / 0.8522 GB, free: 15.88 MB / 0.823 GB Notification: Performance of Templates: time 0.006112/0.02681, allocations: 4.346 MB / 0.8564 GB, free: 11.68 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] 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","",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.839007025118917]