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.001975/0.001975, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002378/0.002378, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.706/2.706, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.001925/0.001925, allocations: 60.09 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7952, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003851/0.799, allocations: 2.066 MB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.8005, allocations: 0.713 MB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.8006, allocations: 4 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.8007, allocations: 35.55 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.8009, allocations: 43.58 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.8013, allocations: 159.7 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.8018, allocations: 399.2 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.8021, allocations: 214.3 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.8023, allocations: 131.5 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.8025, allocations: 147.4 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.8026, allocations: 40 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.8027, allocations: 44 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.8028, allocations: 87.69 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.803, allocations: 151.2 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.8035, allocations: 430.3 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8035, allocations: 0 / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8035, allocations: 0 / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8035, allocations: 0 / 1.279 GB, free: 15.88 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.0009707/0.8045, allocations: 0.5687 MB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8045, allocations: 12.03 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.8046, allocations: 36.75 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.805, allocations: 283.8 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.8051, allocations: 20.94 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.8051, allocations: 32.38 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.8057, allocations: 320 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8057, allocations: 3.938 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.8057, allocations: 8 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8058, allocations: 8 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.8063, allocations: 238.1 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.8078, allocations: 0.9326 MB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.8083, allocations: 223.6 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.8085, allocations: 109.2 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.8086, allocations: 240 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.8089, allocations: 163.5 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.8089, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007177/0.8096, allocations: 326.1 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.8097, allocations: 55.41 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.8099, allocations: 206.3 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.8099, allocations: 45.7 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.81, allocations: 152.8 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.8101, allocations: 83.31 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8102, allocations: 77.67 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8104, allocations: 338.8 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.8106, allocations: 91.95 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.8108, allocations: 153 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.8112, allocations: 218.5 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8112, allocations: 0 / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005554/0.8118, allocations: 316.5 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8118, allocations: 4 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.8118, allocations: 0 / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8118, allocations: 7.984 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.812, allocations: 48.06 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.812, allocations: 4 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.8123, allocations: 51.73 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.8123, allocations: 15.98 kB / 1.284 GB, free: 10.53 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.0001787/0.8125, allocations: 165.7 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.8125, allocations: 27.84 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.8131, allocations: 284.7 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.8131, allocations: 4 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8131, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8131, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.8142, allocations: 0.7256 MB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8142, allocations: 0 / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.8144, allocations: 39.86 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8144, allocations: 0 / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.8144, allocations: 8 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8144, allocations: 0 / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.8144, allocations: 3.984 kB / 1.285 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.8149, allocations: 356.9 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.815, allocations: 100.9 kB / 1.285 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.8151, allocations: 15.98 kB / 1.285 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.8153, allocations: 27.97 kB / 1.285 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.8154, allocations: 39.89 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.8154, allocations: 7.984 kB / 1.285 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001216/0.8155, allocations: 138.2 kB / 1.285 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8155, allocations: 0 / 1.285 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003327/0.8159, allocations: 63.83 kB / 1.285 GB, free: 8.449 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.0001897/0.8161, allocations: 125.5 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.8166, allocations: 235.8 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8166, allocations: 0 / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.8168, allocations: 115.8 kB / 1.286 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.8172, allocations: 42.98 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.8181, allocations: 490 kB / 1.286 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.8185, allocations: 0.7564 MB / 1.287 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.8186, allocations: 26.28 kB / 1.287 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.8187, allocations: 35.42 kB / 1.287 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8187, allocations: 0 / 1.287 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.007544/0.8263, allocations: 3.135 MB / 1.29 GB, free: 3.469 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 cvode -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.592996281106025]