Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7629 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003402/1.042, allocations: 2.074 MB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001184/1.044, allocations: 0.7117 MB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/1.044, allocations: 4.094 kB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/1.044, allocations: 34.56 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.938e-05/1.044, allocations: 48.42 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/1.044, allocations: 152.7 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/1.045, allocations: 398.8 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/1.045, allocations: 215.6 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/1.045, allocations: 140.4 kB / 1.276 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/1.045, allocations: 143 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/1.045, allocations: 38.38 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/1.046, allocations: 49.19 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/1.046, allocations: 75.34 kB / 1.276 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/1.046, allocations: 153.8 kB / 1.276 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004409/1.046, allocations: 430.9 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.046, allocations: 0 / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.046, allocations: 0 / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.046, allocations: 4.875 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008138/1.047, allocations: 0.5733 MB / 1.277 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.047, allocations: 10 kB / 1.277 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/1.047, allocations: 32.44 kB / 1.277 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/1.048, allocations: 279.5 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/1.048, allocations: 30.38 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/1.048, allocations: 28.62 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/1.048, allocations: 324.7 kB / 1.278 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.048, allocations: 0 / 1.278 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/1.048, allocations: 10.38 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/1.048, allocations: 7.156 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/1.049, allocations: 237.3 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/1.05, allocations: 0.9255 MB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/1.051, allocations: 230.2 kB / 1.279 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/1.051, allocations: 105.2 kB / 1.279 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/1.051, allocations: 3.141 kB / 1.279 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/1.051, allocations: 161.9 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/1.051, allocations: 1.031 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0007046/1.052, allocations: 327.1 kB / 1.28 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.052, allocations: 61.92 kB / 1.28 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.052, allocations: 202 kB / 1.28 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.052, allocations: 39.55 kB / 1.28 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/1.052, allocations: 153.8 kB / 1.28 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/1.052, allocations: 85.25 kB / 1.28 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.052, allocations: 87.55 kB / 1.28 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.392e-05/1.052, allocations: 332.1 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.053, allocations: 93.88 kB / 1.281 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/1.053, allocations: 153.4 kB / 1.281 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/1.053, allocations: 212.1 kB / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.053, allocations: 0 / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005613/1.054, allocations: 319.5 kB / 1.281 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.054, allocations: 7.5 kB / 1.281 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.054, allocations: 2.5 kB / 1.281 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.054, allocations: 1.375 kB / 1.281 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/1.054, allocations: 38.59 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/1.054, allocations: 3.516 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.054, allocations: 48.83 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/1.054, allocations: 24.55 kB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001374/1.054, allocations: 176.9 kB / 1.282 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/1.055, allocations: 20.52 kB / 1.282 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/1.055, allocations: 286.1 kB / 1.282 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.055, allocations: 2.219 kB / 1.282 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.055, allocations: 6.25 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.055, allocations: 1.781 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/1.056, allocations: 0.7224 MB / 1.283 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.056, allocations: 0 / 1.283 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/1.056, allocations: 26.73 kB / 1.283 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.056, allocations: 3.938 kB / 1.283 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.056, allocations: 9.188 kB / 1.283 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.056, allocations: 0.7031 kB / 1.283 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.056, allocations: 4 kB / 1.283 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/1.057, allocations: 362.7 kB / 1.283 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/1.057, allocations: 99.83 kB / 1.283 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/1.057, allocations: 8.078 kB / 1.283 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/1.057, allocations: 24.41 kB / 1.283 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.057, allocations: 49.62 kB / 1.283 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/1.057, allocations: 5.422 kB / 1.283 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.839e-05/1.057, allocations: 136.5 kB / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.057, allocations: 0 / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003296/1.057, allocations: 70.05 kB / 1.283 GB, free: 496 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001474/1.058, allocations: 119.8 kB / 1.283 GB, free: 396 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004716/1.058, allocations: 237.6 kB / 1.284 GB, free: 320 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.058, allocations: 0 / 1.284 GB, free: 320 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.058, allocations: 120 kB / 1.284 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/1.059, allocations: 32.39 kB / 1.284 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/1.059, allocations: 485.9 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/1.06, allocations: 0.7582 MB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001362/1.06, allocations: 33.92 kB / 1.285 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/1.06, allocations: 31.03 kB / 1.285 GB, free: 15.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.06, allocations: 0 / 1.285 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Templates: time 0.01155/1.072, allocations: 3.14 MB / 1.288 GB, free: 14.99 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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: 9.028672529384494]