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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_11_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.005122/0.005127, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.001524/0.001524, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.402/1.402, 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 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 60.12 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2689, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003247/0.2722, allocations: 2.049 MB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2734, allocations: 0.6974 MB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.2735, allocations: 4 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2736, allocations: 35.61 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2738, allocations: 43.58 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2742, allocations: 155.8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.2746, allocations: 403.1 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.275, allocations: 239.7 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2752, allocations: 135.5 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2754, allocations: 143.4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.2755, allocations: 44 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.2756, allocations: 44 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.2757, allocations: 83.8 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2758, allocations: 147.2 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2763, allocations: 426.4 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2763, allocations: 0 / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2763, allocations: 0 / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.2763, allocations: 0 / 1.225 GB, free: 9.688 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.0008818/0.2772, allocations: 0.5804 MB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2772, allocations: 12.03 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.2773, allocations: 62.72 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.2774, allocations: 40.69 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.2778, allocations: 288.3 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.2778, allocations: 20.94 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.2779, allocations: 36.38 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.2785, allocations: 319.8 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2785, allocations: 3.984 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2785, allocations: 12 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2786, allocations: 4 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.2791, allocations: 238.1 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2806, allocations: 0.9287 MB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.2811, allocations: 247.5 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.2814, allocations: 117.3 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2814, allocations: 4.234 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.2817, allocations: 151.5 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.2818, allocations: 0 / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007416/0.2825, allocations: 329.4 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.2826, allocations: 67.39 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.2828, allocations: 207 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.2828, allocations: 45.69 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2829, allocations: 148.9 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.283, allocations: 79.39 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.2832, allocations: 81.67 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2833, allocations: 330.8 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.2835, allocations: 95.95 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.2838, allocations: 157 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.2843, allocations: 210.5 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2843, allocations: 3.938 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00059/0.2849, allocations: 308.7 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2849, allocations: 8.031 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2849, allocations: 4 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2849, allocations: 0 / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.2851, allocations: 43.91 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2852, allocations: 11.92 kB / 1.23 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2854, allocations: 47.75 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.2854, allocations: 11.98 kB / 1.23 GB, free: 4.223 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.0001782/0.2856, allocations: 178.2 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.2857, allocations: 23.86 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.2863, allocations: 284.1 kB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2863, allocations: 4 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2863, allocations: 7.984 kB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2863, allocations: 0 / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2874, allocations: 0.7294 MB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2874, allocations: 3.938 kB / 1.231 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.2876, allocations: 31.91 kB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2876, allocations: 0 / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.2877, allocations: 8 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.2877, allocations: 0 / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2877, allocations: 3.938 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.2882, allocations: 357 kB / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.2883, allocations: 104.9 kB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.2883, allocations: 8 kB / 1.231 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2886, allocations: 23.97 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2887, allocations: 39.89 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2887, allocations: 4 kB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001134/0.2888, allocations: 139.2 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2888, allocations: 0 / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003285/0.2892, allocations: 63.89 kB / 1.232 GB, free: 2.137 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.0009084/0.2901, allocations: 0.9135 MB / 1.233 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.2906, allocations: 243.8 kB / 1.233 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2906, allocations: 4 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.2909, allocations: 132.4 kB / 1.233 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.2913, allocations: 41.36 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.2946, allocations: 2.554 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.295, allocations: 0.7603 MB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.2952, allocations: 34.28 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.2953, allocations: 87.39 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.2953, allocations: 3.938 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.3224, allocations: 5.614 MB / 1.242 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.38, allocations: 0 / 1.242 GB, free: 7.758 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches