Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001426/0.001425, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001688/0.001688, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.89 kB / 0.814 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2553, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003158/0.2585, allocations: 2.032 MB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2597, allocations: 0.7092 MB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2598, allocations: 4 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.26, allocations: 35.55 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.638e-05/0.2601, allocations: 39.59 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.2606, allocations: 163.7 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.2611, allocations: 399.2 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.2615, allocations: 251.6 kB / 0.9547 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.2617, allocations: 135.5 kB / 0.9548 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.2619, allocations: 143.4 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.2619, allocations: 44 kB / 0.955 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.262, allocations: 44 kB / 0.955 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.2621, allocations: 87.69 kB / 0.9551 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.2623, allocations: 147.2 kB / 0.9552 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.2627, allocations: 422.6 kB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2627, allocations: 0 / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2628, allocations: 0 / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.2628, allocations: 0 / 0.9556 GB, free: 3.418 MB / 0.7325 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.0009732/0.2637, allocations: 0.569 MB / 0.9562 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2638, allocations: 8.031 kB / 0.9562 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.2639, allocations: 36.56 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.2643, allocations: 271.8 kB / 0.9565 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2643, allocations: 24.94 kB / 0.9565 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.2644, allocations: 32.38 kB / 0.9565 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.2649, allocations: 315.9 kB / 0.9568 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2649, allocations: 4 kB / 0.9569 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.265, allocations: 12 kB / 0.9569 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.265, allocations: 8 kB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.2655, allocations: 234.1 kB / 0.9571 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2668, allocations: 0.9361 MB / 0.958 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.2673, allocations: 239.6 kB / 0.9582 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.2676, allocations: 125.2 kB / 0.9584 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2676, allocations: 4.234 kB / 0.9584 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.2679, allocations: 157 kB / 0.9585 GB, free: 292 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/0.2679, allocations: 0 / 0.9585 GB, free: 292 kB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006878/0.2686, allocations: 329.2 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2687, allocations: 67.39 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2688, allocations: 202.2 kB / 0.9591 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.2689, allocations: 37.7 kB / 0.9591 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.269, allocations: 152.6 kB / 0.9593 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.2691, allocations: 82.92 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2692, allocations: 77.69 kB / 0.9594 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2693, allocations: 330.8 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.2695, allocations: 95.95 kB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.2697, allocations: 153 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.2701, allocations: 208.8 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2701, allocations: 0 / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005219/0.2706, allocations: 308.6 kB / 0.9605 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2706, allocations: 7.938 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2707, allocations: 12.14 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2707, allocations: 4 kB / 0.9605 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.2709, allocations: 31.92 kB / 0.9605 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2709, allocations: 7.984 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2711, allocations: 43.72 kB / 0.9606 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2711, allocations: 12 kB / 0.9606 GB, free: 14.07 MB / 0.7481 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.0001805/0.2713, allocations: 185.6 kB / 0.9608 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.2714, allocations: 19.72 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.2719, allocations: 276.7 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2719, allocations: 4 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.272, allocations: 4 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.272, allocations: 0 / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009684/0.2729, allocations: 0.7294 MB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.273, allocations: 0 / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2731, allocations: 31.86 kB / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2731, allocations: 4 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2731, allocations: 7.984 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2731, allocations: 0 / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2731, allocations: 4 kB / 0.9618 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.2736, allocations: 360.8 kB / 0.9621 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.2737, allocations: 96.77 kB / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2737, allocations: 8 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2739, allocations: 27.95 kB / 0.9623 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.274, allocations: 43.83 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2741, allocations: 8 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001093/0.2742, allocations: 129.6 kB / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2742, allocations: 4 kB / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003159/0.2745, allocations: 71.83 kB / 0.9625 GB, free: 11.98 MB / 0.7481 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.0001712/0.2747, allocations: 109.5 kB / 0.9626 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.2752, allocations: 260.1 kB / 0.9629 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2752, allocations: 320 / 0.9629 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.2754, allocations: 131.8 kB / 0.963 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.2758, allocations: 39.91 kB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.2766, allocations: 466.5 kB / 0.9635 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.2769, allocations: 0.7603 MB / 0.9642 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.277, allocations: 34.28 kB / 0.9643 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.2771, allocations: 31.36 kB / 0.9643 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.2771, allocations: 0 / 0.9643 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.006152/0.2833, allocations: 3.034 MB / 0.9672 GB, free: 7.094 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches