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.0008872/0.0008872, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007989/0.0007989, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9227/0.9227, allocations: 177.1 MB / 203.5 MB, free: 5.723 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 1.794/1.794, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.473e-06/1.473e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.73e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002967/0.002994, allocations: 2.885 MB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.004441, allocations: 1.141 MB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.004652, allocations: 31.75 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.004879, allocations: 99 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.005211, allocations: 107 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.005752, allocations: 368 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.006201, allocations: 0.6479 MB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.006447, allocations: 162.4 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.00678, allocations: 327.1 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.00694, allocations: 151.5 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.006988, allocations: 52 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.007059, allocations: 56 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.007112, allocations: 107.5 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.007199, allocations: 147.5 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.007703, allocations: 0.7125 MB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.007706, allocations: 0 / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007707, allocations: 0 / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.007713, allocations: 0 / 1.008 GB, free: 6.02 MB / 0.9636 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.0008614/0.008574, allocations: 0.7691 MB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.008611, allocations: 12.75 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.008818, allocations: 84.53 kB / 1.009 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.00938, allocations: 462.7 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.009398, allocations: 21.03 kB / 1.009 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.009436, allocations: 28.38 kB / 1.009 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.009866, allocations: 423 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.009877, allocations: 8.188 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.0099, allocations: 8.375 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.009909, allocations: 11.94 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.01025, allocations: 254.4 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01125, allocations: 1.259 MB / 1.011 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.01167, allocations: 243.7 kB / 1.011 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.01183, allocations: 142.7 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01186, allocations: 0 / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.01188, allocations: 42.5 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.01188, allocations: 3.938 kB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.0005338/0.01241, allocations: 363.4 kB / 1.012 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.01244, allocations: 55.41 kB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.01291, allocations: 429.8 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01293, allocations: 29.7 kB / 1.012 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.01307, allocations: 260.4 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.01311, allocations: 79.28 kB / 1.012 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.01318, allocations: 57.97 kB / 1.013 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.01327, allocations: 350.8 kB / 1.013 GB, free: 476 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.01342, allocations: 100.5 kB / 1.013 GB, free: 376 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01358, allocations: 160.7 kB / 1.013 GB, free: 188 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.01389, allocations: 275.5 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01389, allocations: 0 / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003801/0.01427, allocations: 349.1 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01429, allocations: 4 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.0143, allocations: 4 kB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01431, allocations: 0 / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01445, allocations: 63.89 kB / 1.014 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01446, allocations: 4 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.01456, allocations: 35.77 kB / 1.014 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01457, allocations: 12 kB / 1.014 GB, free: 15.42 MB / 0.9792 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.0001307/0.0147, allocations: 178 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.01474, allocations: 47.7 kB / 1.014 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.01481, allocations: 44.11 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01481, allocations: 4 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01482, allocations: 0 / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01482, allocations: 3.984 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.01507, allocations: 325 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01507, allocations: 0 / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.0152, allocations: 47.91 kB / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01521, allocations: 4 kB / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01522, allocations: 8 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.01522, allocations: 0 / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.01522, allocations: 0 / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.01578, allocations: 0.5049 MB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.01586, allocations: 71.66 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01588, allocations: 12 kB / 1.015 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.01597, allocations: 11.98 kB / 1.015 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.01602, allocations: 15.97 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.01603, allocations: 8 kB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001979/0.01622, allocations: 295.1 kB / 1.015 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01622, allocations: 0 / 1.015 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002088/0.01643, allocations: 67.84 kB / 1.015 GB, free: 13.74 MB / 0.9792 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 8.989e-05/0.01652, allocations: 115.2 kB / 1.016 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.01687, allocations: 231.6 kB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01687, allocations: 0 / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.01701, allocations: 112.3 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.01741, allocations: 131.2 kB / 1.016 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.01827, allocations: 0.7537 MB / 1.017 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.0184, allocations: 216.3 kB / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.01848, allocations: 44.42 kB / 1.017 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of SimCode: time 7.01e-07/0.01848, allocations: 0 / 1.017 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.005262/0.02374, allocations: 5.627 MB / 1.022 GB, free: 6.516 MB / 0.9792 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.194590646773577]