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.001298/0.001298, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001352/0.001352, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.412/1.412, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.74/2.74, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 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.002072/0.002072, allocations: 71.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7253, allocations: 168.7 MB / 1.274 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003847/0.7291, allocations: 2.055 MB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.7305, allocations: 0.7091 MB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.7306, allocations: 4 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.7307, allocations: 43.53 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.7308, allocations: 43.59 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.7313, allocations: 159.7 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.7318, allocations: 399.2 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.7321, allocations: 206.3 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.7323, allocations: 135.6 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.7325, allocations: 159.3 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.7325, allocations: 36 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.7326, allocations: 47.94 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.7327, allocations: 71.83 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.7329, allocations: 159.2 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.7333, allocations: 418.3 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7333, allocations: 4 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7334, allocations: 0 / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.7334, allocations: 0 / 1.279 GB, free: 15.82 MB / 0.9825 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.0009388/0.7343, allocations: 0.5804 MB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.7343, allocations: 8.031 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.7344, allocations: 32.75 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.7348, allocations: 279.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.7349, allocations: 28.94 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.7349, allocations: 32.31 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.7355, allocations: 331.9 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.7355, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.7356, allocations: 12 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7356, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.7361, allocations: 230.1 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.7376, allocations: 0.9288 MB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.7381, allocations: 219.6 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.7383, allocations: 113.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.7384, allocations: 4.234 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.7387, allocations: 163.5 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 3.527e-06/0.7387, allocations: 3.984 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007444/0.7394, allocations: 322.2 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7395, allocations: 55.41 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.7397, allocations: 202.3 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.7397, allocations: 37.7 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7398, allocations: 156.8 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.7399, allocations: 83.36 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.74, allocations: 81.67 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7402, allocations: 338.8 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.7404, allocations: 91.95 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.7407, allocations: 156.9 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.7411, allocations: 210.6 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7411, allocations: 3.938 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000584/0.7416, allocations: 320.6 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7417, allocations: 5.719 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.7417, allocations: 4 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7417, allocations: 4 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.7419, allocations: 43.91 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7419, allocations: 4 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7421, allocations: 43.75 kB / 1.283 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.7422, allocations: 16 kB / 1.283 GB, free: 10.47 MB / 0.9825 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.0001827/0.7423, allocations: 181.6 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.7424, allocations: 19.86 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005886/0.743, allocations: 276.7 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.743, allocations: 4 kB / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.743, allocations: 0 / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.743, allocations: 3.984 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.7441, allocations: 0.7256 MB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7441, allocations: 0 / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.7442, allocations: 27.92 kB / 1.285 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.7442, allocations: 7.984 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.7443, allocations: 7.984 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7443, allocations: 0 / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7443, allocations: 7.984 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.7448, allocations: 364.9 kB / 1.285 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.7449, allocations: 96.91 kB / 1.285 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.7449, allocations: 15.92 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.7451, allocations: 23.97 kB / 1.285 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.7452, allocations: 39.89 kB / 1.285 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.7453, allocations: 16 kB / 1.285 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001188/0.7454, allocations: 134.2 kB / 1.285 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7454, allocations: 0 / 1.285 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003284/0.7457, allocations: 67.83 kB / 1.285 GB, free: 8.379 MB / 0.9825 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.0001689/0.7459, allocations: 121.4 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.7464, allocations: 240 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7464, allocations: 0 / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.7467, allocations: 115.8 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.747, allocations: 31.92 kB / 1.286 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.7479, allocations: 482 kB / 1.286 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.7483, allocations: 0.7681 MB / 1.287 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.7484, allocations: 30.28 kB / 1.287 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.7485, allocations: 23.44 kB / 1.287 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.7485, allocations: 0 / 1.287 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.007183/0.7557, allocations: 3.153 MB / 1.29 GB, free: 3.402 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.439546599984169]