Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 104.7 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 187.3 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.908/2.908, allocations: 437.1 MB / 0.7107 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 0.8694 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8544, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004322/0.8588, allocations: 2.135 MB / 1.02 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.8606, allocations: 0.7093 MB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.861, allocations: 7.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.8612, allocations: 19.8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.8615, allocations: 27.78 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.8622, allocations: 143.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.8627, allocations: 399.1 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.8632, allocations: 239.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.8634, allocations: 135.5 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.8637, allocations: 155.3 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.8638, allocations: 36 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.8639, allocations: 51.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.864, allocations: 83.75 kB / 1.022 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.8642, allocations: 143.3 kB / 1.022 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.8646, allocations: 329.2 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.8646, allocations: 3.984 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8647, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.8647, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 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.001111/0.8658, allocations: 0.5768 MB / 1.023 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.8658, allocations: 8.031 kB / 1.023 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.925e-05/0.8659, allocations: 36.55 kB / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.8664, allocations: 267.8 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.8664, allocations: 28.94 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.8665, allocations: 32.38 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.8672, allocations: 315.9 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.8672, allocations: 4 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.8672, allocations: 15.98 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.8673, allocations: 8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.8678, allocations: 230.1 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.8694, allocations: 0.9362 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.87, allocations: 239.6 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.8702, allocations: 121.2 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.8702, allocations: 4.234 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.8706, allocations: 167.5 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.8706, allocations: 0 / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0007416/0.8714, allocations: 323.5 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.8714, allocations: 55.41 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.8717, allocations: 211.3 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.8717, allocations: 45.64 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.8719, allocations: 152.6 kB / 1.026 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.8719, allocations: 78.98 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.8721, allocations: 81.67 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.8723, allocations: 330.8 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.8725, allocations: 99.94 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.8727, allocations: 156.9 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.8731, allocations: 208.6 kB / 1.027 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8732, allocations: 0 / 1.027 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005409/0.8737, allocations: 308.9 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8737, allocations: 4 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.8737, allocations: 4 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.8738, allocations: 4 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.874, allocations: 44.06 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.874, allocations: 4 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.8742, allocations: 43.66 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.8743, allocations: 19.94 kB / 1.027 GB, free: 8.711 MB / 0.7794 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0002003/0.8745, allocations: 173.6 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.8745, allocations: 23.72 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.8751, allocations: 284.7 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8751, allocations: 4 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8751, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.8751, allocations: 7.969 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.8763, allocations: 0.7288 MB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8763, allocations: 0 / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.8764, allocations: 27.92 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8764, allocations: 3.984 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.8765, allocations: 8 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8765, allocations: 0 / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8765, allocations: 0 / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.877, allocations: 355.6 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.8771, allocations: 104.8 kB / 1.029 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.8771, allocations: 11.92 kB / 1.029 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.8773, allocations: 23.97 kB / 1.029 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8774, allocations: 39.89 kB / 1.029 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.8775, allocations: 8 kB / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001199/0.8776, allocations: 135.2 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8776, allocations: 0 / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003307/0.8779, allocations: 71.75 kB / 1.029 GB, free: 6.617 MB / 0.7794 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0002204/0.8782, allocations: 122.6 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.8788, allocations: 259.8 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8788, allocations: 0 / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.879, allocations: 128.1 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.8794, allocations: 35.97 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.8804, allocations: 0.5706 MB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.8808, allocations: 0.7603 MB / 1.031 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.8809, allocations: 27.44 kB / 1.031 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8809, allocations: 0 / 1.031 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.006154/0.8871, allocations: 3.386 MB / 1.034 GB, free: 1.293 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches