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.001087/0.001087, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.426/2.426, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4871, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002946/0.49, allocations: 2.041 MB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4911, allocations: 0.7013 MB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.4912, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.4913, allocations: 27.61 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.963e-05/0.4914, allocations: 43.59 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.4918, allocations: 159.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000362/0.4921, allocations: 403 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.4925, allocations: 245.3 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4926, allocations: 127.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.4928, allocations: 151.3 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.4928, allocations: 40 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.4929, allocations: 48 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.493, allocations: 79.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.4931, allocations: 151.3 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.4935, allocations: 405 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4935, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4935, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4935, allocations: 4 kB / 1.022 GB, free: 13.91 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.0007468/0.4943, allocations: 0.569 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.4943, allocations: 12.03 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.4944, allocations: 66.66 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.4944, allocations: 32.56 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.4947, allocations: 272.3 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.4947, allocations: 20.94 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.4948, allocations: 36.38 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.4953, allocations: 319.7 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4953, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.4954, allocations: 8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4954, allocations: 8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.4958, allocations: 242.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.4971, allocations: 0.9363 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.4976, allocations: 244.7 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4978, allocations: 117.3 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4978, allocations: 240 / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.4981, allocations: 160.7 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.756e-06/0.4981, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006229/0.4988, allocations: 337.2 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4988, allocations: 67.38 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.499, allocations: 203.3 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.499, allocations: 37.7 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.4991, allocations: 156.6 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.4992, allocations: 75 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.4993, allocations: 77.69 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.4994, allocations: 334.8 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.4995, allocations: 99.89 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.4998, allocations: 157 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.5001, allocations: 212.6 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5001, allocations: 3.938 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005019/0.5006, allocations: 305.1 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5007, allocations: 8 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5007, allocations: 0 / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5007, allocations: 4 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.5009, allocations: 35.92 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.5009, allocations: 7.922 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.5011, allocations: 51.66 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.5011, allocations: 8 kB / 1.027 GB, free: 8.477 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.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.0001532/0.5013, allocations: 181.7 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.5013, allocations: 23.72 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.5019, allocations: 276.2 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5019, allocations: 4 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5019, allocations: 0 / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5019, allocations: 0 / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009/0.5028, allocations: 0.733 MB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5028, allocations: 4 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.503, allocations: 27.92 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.503, allocations: 0 / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.503, allocations: 11.98 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.503, allocations: 0 / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.503, allocations: 7.938 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.5034, allocations: 355.1 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.5035, allocations: 100.8 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.5035, allocations: 4 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5038, allocations: 35.89 kB / 1.029 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.5039, allocations: 43.89 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.5039, allocations: 4 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.504, allocations: 135.2 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.504, allocations: 0 / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003047/0.5043, allocations: 63.84 kB / 1.029 GB, free: 6.383 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.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.0007255/0.505, allocations: 0.9179 MB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.5055, allocations: 263.7 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5055, allocations: 0 / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.5058, allocations: 131.9 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.5061, allocations: 46.61 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.5089, allocations: 2.545 MB / 1.033 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.5092, allocations: 0.7603 MB / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.5093, allocations: 22.3 kB / 1.033 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.5094, allocations: 95.33 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5094, allocations: 4 kB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.5298, allocations: 5.524 MB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.367, allocations: 0 / 1.039 GB, free: 12.07 MB / 0.795 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