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.00149/0.00149, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00167/0.00167, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.476/1.476, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.865/2.865, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.178e-05, allocations: 3.25 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005427/0.005459, allocations: 2.9 MB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.008235, allocations: 1.152 MB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.008689, allocations: 29.09 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.009066, allocations: 91.12 kB / 0.8149 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.009462, allocations: 113.8 kB / 0.815 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.01044, allocations: 355.9 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.01144, allocations: 0.6534 MB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.01178, allocations: 150.4 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.01238, allocations: 335.1 kB / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.01264, allocations: 152 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.01272, allocations: 52 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.01283, allocations: 61.31 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.01295, allocations: 111.5 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.01313, allocations: 147.5 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009133/0.01404, allocations: 0.7059 MB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01405, allocations: 0 / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01405, allocations: 0 / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.01406, allocations: 1.375 kB / 0.8176 GB, free: 11.15 MB / 0.7761 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.001523/0.01558, allocations: 0.7606 MB / 0.8184 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.01562, allocations: 12.03 kB / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.01606, allocations: 113.4 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.01717, allocations: 0.4992 MB / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.0172, allocations: 21.03 kB / 0.819 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.01728, allocations: 36.31 kB / 0.819 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.0181, allocations: 416 kB / 0.8194 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.01812, allocations: 2.125 kB / 0.8194 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.01815, allocations: 16.12 kB / 0.8194 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.01817, allocations: 8 kB / 0.8194 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.01885, allocations: 256.6 kB / 0.8197 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.0208, allocations: 1.263 MB / 0.8209 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.02157, allocations: 251.4 kB / 0.8212 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.02189, allocations: 128.2 kB / 0.8213 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.02193, allocations: 4 kB / 0.8213 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.02197, allocations: 38.56 kB / 0.8213 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/0.02197, allocations: 0 / 0.8213 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001037/0.023, allocations: 371.2 kB / 0.8217 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.02305, allocations: 55.41 kB / 0.8217 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.02362, allocations: 425.9 kB / 0.8221 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.02365, allocations: 29.7 kB / 0.8222 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.0239, allocations: 256.4 kB / 0.8224 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.02399, allocations: 88.2 kB / 0.8225 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.02412, allocations: 53.98 kB / 0.8225 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.02434, allocations: 358.7 kB / 0.8229 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.02462, allocations: 89.64 kB / 0.823 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.02499, allocations: 171 kB / 0.8231 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.02564, allocations: 267.7 kB / 0.8234 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.02564, allocations: 1.344 kB / 0.8234 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008268/0.02647, allocations: 349.8 kB / 0.8237 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.02649, allocations: 12.91 kB / 0.8237 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.0265, allocations: 0 / 0.8237 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.02652, allocations: 7.984 kB / 0.8237 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.02685, allocations: 63.91 kB / 0.8238 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.02686, allocations: 0 / 0.8238 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.02708, allocations: 33.94 kB / 0.8238 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.02712, allocations: 15.98 kB / 0.8239 GB, free: 4.516 MB / 0.7761 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.0002311/0.02735, allocations: 181.7 kB / 0.824 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.02744, allocations: 51.67 kB / 0.8241 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.02756, allocations: 45.67 kB / 0.8241 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.02756, allocations: 7.984 kB / 0.8241 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.02757, allocations: 4 kB / 0.8241 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.02758, allocations: 4.234 kB / 0.8241 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.02807, allocations: 325 kB / 0.8244 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02807, allocations: 0 / 0.8244 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.02837, allocations: 51.91 kB / 0.8245 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.02837, allocations: 0 / 0.8245 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.0284, allocations: 3.984 kB / 0.8245 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.0284, allocations: 4 kB / 0.8245 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.0284, allocations: 0 / 0.8245 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.02952, allocations: 0.5087 MB / 0.825 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.02966, allocations: 71.61 kB / 0.8251 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.02971, allocations: 4 kB / 0.8251 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.02994, allocations: 15.98 kB / 0.8251 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.03001, allocations: 11.97 kB / 0.8251 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.03003, allocations: 11.98 kB / 0.8251 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003968/0.03043, allocations: 291.1 kB / 0.8254 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.03043, allocations: 4.062 kB / 0.8254 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003744/0.0308, allocations: 63.89 kB / 0.8254 GB, free: 2.828 MB / 0.7761 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.0001613/0.03097, allocations: 103.2 kB / 0.8255 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006739/0.03164, allocations: 224.2 kB / 0.8258 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03164, allocations: 8 kB / 0.8258 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.03196, allocations: 122.1 kB / 0.8259 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.03271, allocations: 130.5 kB / 0.826 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.03433, allocations: 0.743 MB / 0.8267 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.0346, allocations: 223.9 kB / 0.8269 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.03484, allocations: 51.25 kB / 0.827 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.03495, allocations: 36.48 kB / 0.827 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.03495, allocations: 0 / 0.827 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of Templates: time 0.01085/0.04579, allocations: 4.061 MB / 0.831 GB, free: 13.21 MB / 0.7917 GB " [Timeout remaining time 300] 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/jenkins/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: 7.948149002040736]