Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008003/0.008003, allocations: 101.5 kB / 15.73 MB, free: 5.555 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.001531/0.001532, allocations: 194.7 kB / 16.67 MB, free: 5.484 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.7 MB / 0.7453 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.09 kB / 1.069 GB, free: 9.711 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2575, allocations: 159.9 MB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00321/0.2608, allocations: 2.044 MB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2622, allocations: 0.7052 MB / 1.228 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.2624, allocations: 8 kB / 1.228 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.2626, allocations: 35.55 kB / 1.228 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2627, allocations: 47.58 kB / 1.228 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.2632, allocations: 159.7 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.2636, allocations: 399.1 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.264, allocations: 247.7 kB / 1.229 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2642, allocations: 139.5 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.2644, allocations: 139.4 kB / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.2645, allocations: 40 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.2646, allocations: 44 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.2647, allocations: 91.67 kB / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2648, allocations: 151.3 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.2653, allocations: 422.4 kB / 1.23 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2653, allocations: 0 / 1.23 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2653, allocations: 0 / 1.23 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.2653, allocations: 0 / 1.23 GB, free: 5.039 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.0008561/0.2662, allocations: 0.5803 MB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2662, allocations: 12.03 kB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/0.2663, allocations: 66.66 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.2664, allocations: 36.69 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.2668, allocations: 279.9 kB / 1.231 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.2668, allocations: 24.94 kB / 1.231 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.2668, allocations: 32.38 kB / 1.231 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.2674, allocations: 319.7 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2674, allocations: 0 / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.2675, allocations: 12 kB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2675, allocations: 4 kB / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.2679, allocations: 238.1 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.2694, allocations: 0.921 MB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.27, allocations: 250.1 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.2702, allocations: 118.5 kB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2702, allocations: 8.219 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.2705, allocations: 159.5 kB / 1.233 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.2706, allocations: 0 / 1.233 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007215/0.2713, allocations: 322.2 kB / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2713, allocations: 63.41 kB / 1.233 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2715, allocations: 206.3 kB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2716, allocations: 41.7 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2717, allocations: 148.9 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.2718, allocations: 87.36 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2719, allocations: 81.67 kB / 1.234 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.272, allocations: 330.8 kB / 1.234 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2722, allocations: 91.95 kB / 1.234 GB, free: 432 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2725, allocations: 161 kB / 1.234 GB, free: 252 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.2729, allocations: 214.3 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.2729, allocations: 7.938 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005951/0.2735, allocations: 308.8 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2735, allocations: 5.875 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2735, allocations: 4 kB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2736, allocations: 0 / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2738, allocations: 48.06 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2738, allocations: 4 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.274, allocations: 47.75 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.2741, allocations: 12 kB / 1.235 GB, free: 15.58 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.0001754/0.2743, allocations: 177.6 kB / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2743, allocations: 23.86 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005689/0.2749, allocations: 280.2 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2749, allocations: 4 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2749, allocations: 0 / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2749, allocations: 3.984 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.276, allocations: 0.7293 MB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.276, allocations: 0 / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2761, allocations: 31.92 kB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2762, allocations: 0 / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2762, allocations: 11.98 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2762, allocations: 0 / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2762, allocations: 3.938 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.2767, allocations: 360.9 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.2768, allocations: 96.91 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.2768, allocations: 15.98 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.277, allocations: 23.97 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2771, allocations: 43.88 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.2772, allocations: 8 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001078/0.2773, allocations: 145.3 kB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2773, allocations: 0 / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003411/0.2776, allocations: 63.89 kB / 1.237 GB, free: 13.49 MB / 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.0008183/0.2785, allocations: 0.9019 MB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.279, allocations: 252 kB / 1.238 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.279, allocations: 4 kB / 1.238 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.2793, allocations: 132.3 kB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.2796, allocations: 47.83 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.2828, allocations: 2.544 MB / 1.24 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.2831, allocations: 0.7642 MB / 1.241 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000117/0.2832, allocations: 26.28 kB / 1.241 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2834, allocations: 83.41 kB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.2834, allocations: 0 / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.307, allocations: 5.631 MB / 1.247 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.852, allocations: 5.969 kB / 1.247 GB, free: 3.105 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches