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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_10_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.007112/0.007112, allocations: 98.38 kB / 15.73 MB, free: 6.012 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.00177/0.00177, allocations: 196.9 kB / 16.67 MB, free: 5.949 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.504/2.504, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2601, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003096/0.2632, allocations: 2.034 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2644, allocations: 0.7131 MB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2646, allocations: 4 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2648, allocations: 31.61 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.2649, allocations: 47.47 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.2654, allocations: 155.8 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.2658, allocations: 403.2 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.2662, allocations: 239.7 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.2663, allocations: 135.5 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2665, allocations: 151.4 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.2666, allocations: 36 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2667, allocations: 51.98 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.2668, allocations: 79.77 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.267, allocations: 151.2 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.2674, allocations: 422.7 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2674, allocations: 3.938 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2674, allocations: 0 / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.2674, allocations: 0 / 1.171 GB, free: 2.699 MB / 0.92 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.0008399/0.2683, allocations: 0.5804 MB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2683, allocations: 12.02 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.2684, allocations: 66.73 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.2685, allocations: 32.75 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.2688, allocations: 268.9 kB / 1.172 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.2688, allocations: 24.94 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.2689, allocations: 28.38 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.2694, allocations: 323.8 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2695, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.2695, allocations: 11.94 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2695, allocations: 8 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.27, allocations: 230.1 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.2713, allocations: 0.9404 MB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.2718, allocations: 255.5 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2721, allocations: 121.2 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2721, allocations: 240 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.2724, allocations: 159.5 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.2724, allocations: 0 / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006539/0.273, allocations: 333.4 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.2731, allocations: 59.39 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2733, allocations: 207.4 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.2733, allocations: 41.7 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.2734, allocations: 152.8 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.2735, allocations: 79.38 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2736, allocations: 77.67 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2737, allocations: 342.8 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2739, allocations: 95.91 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2741, allocations: 149 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.2745, allocations: 216.7 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2745, allocations: 3.938 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005368/0.275, allocations: 312.9 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2751, allocations: 6.031 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2751, allocations: 4 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2751, allocations: 7.984 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.2753, allocations: 39.92 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2753, allocations: 4 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.2755, allocations: 43.8 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.2756, allocations: 12 kB / 1.176 GB, free: 13.24 MB / 0.9356 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.000152/0.2757, allocations: 177.7 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.2758, allocations: 23.86 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.2763, allocations: 280.1 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2763, allocations: 4 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2763, allocations: 0 / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2763, allocations: 0 / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.2773, allocations: 0.7375 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2773, allocations: 0 / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.2774, allocations: 31.92 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2775, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2775, allocations: 11.94 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2775, allocations: 3.984 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2775, allocations: 3.938 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.278, allocations: 344.5 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.278, allocations: 100.9 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.2781, allocations: 8 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2783, allocations: 31.95 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.2784, allocations: 35.91 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.2784, allocations: 11.98 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.283e-05/0.2785, allocations: 135.1 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.352e-06/0.2785, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003324/0.2788, allocations: 71.77 kB / 1.178 GB, free: 11.15 MB / 0.9356 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.0007587/0.2796, allocations: 0.9141 MB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.2801, allocations: 248.1 kB / 1.179 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2801, allocations: 0 / 1.179 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2803, allocations: 123.9 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2807, allocations: 44.17 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.2837, allocations: 2.548 MB / 1.181 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.284, allocations: 0.768 MB / 1.182 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000113/0.2841, allocations: 30.28 kB / 1.182 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2842, allocations: 83.41 kB / 1.182 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.2843, allocations: 0 / 1.182 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3057, allocations: 5.618 MB / 1.188 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.521, allocations: 3.984 kB / 1.188 GB, free: 0.7773 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv","/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