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.001179/0.001179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001142/0.001142, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.208/2.208, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.444, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002721/0.4468, allocations: 2.128 MB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000943/0.4477, allocations: 0.7169 MB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.4478, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.448, allocations: 19.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.729e-05/0.4481, allocations: 35.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.4484, allocations: 139.9 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000345/0.4488, allocations: 399 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.449, allocations: 243.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.4492, allocations: 139.5 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4493, allocations: 147.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.4494, allocations: 36 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.4495, allocations: 48 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.4495, allocations: 83.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4497, allocations: 147.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.45, allocations: 409 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.45, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.45, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.45, allocations: 0 / 1.021 GB, free: 14.07 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.0007016/0.4507, allocations: 0.569 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.4508, allocations: 8.031 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.4508, allocations: 66.72 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.4509, allocations: 32.56 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4511, allocations: 275.7 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4512, allocations: 24.94 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4512, allocations: 32.36 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.4517, allocations: 315.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4517, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4518, allocations: 12 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4518, allocations: 8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.4522, allocations: 242.1 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.4534, allocations: 0.9363 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.4538, allocations: 243.5 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.454, allocations: 121.3 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4541, allocations: 4.234 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.4543, allocations: 163.5 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.4544, allocations: 3.938 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006033/0.455, allocations: 323.5 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.455, allocations: 67.34 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4552, allocations: 203.3 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4552, allocations: 41.69 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.4553, allocations: 160.6 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.4554, allocations: 67.02 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.4555, allocations: 81.67 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4556, allocations: 330.8 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.4557, allocations: 95.95 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.456, allocations: 157 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.4563, allocations: 212.5 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4563, allocations: 7.938 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004724/0.4568, allocations: 297 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4568, allocations: 8 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4568, allocations: 4.156 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4568, allocations: 4 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.457, allocations: 39.84 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.457, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.4572, allocations: 51.66 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.4573, allocations: 11.98 kB / 1.026 GB, free: 8.641 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001455/0.4574, allocations: 177.7 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.4574, allocations: 19.72 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.4579, allocations: 292.1 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4579, allocations: 0 / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.458, allocations: 4 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.458, allocations: 0 / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008679/0.4588, allocations: 0.7249 MB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4588, allocations: 4 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.459, allocations: 23.98 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.459, allocations: 0 / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.459, allocations: 8 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.459, allocations: 0 / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.459, allocations: 3.938 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.4595, allocations: 367.6 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.4595, allocations: 108.6 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.4596, allocations: 8 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4597, allocations: 23.97 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.4598, allocations: 39.89 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.4599, allocations: 11.98 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.678e-05/0.46, allocations: 135.2 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.46, allocations: 0 / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000273/0.4602, allocations: 63.78 kB / 1.028 GB, free: 6.543 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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.0006901/0.4609, allocations: 0.9015 MB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.4614, allocations: 263.7 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4614, allocations: 0 / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.4616, allocations: 140.3 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.462, allocations: 40.97 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.4646, allocations: 2.627 MB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4649, allocations: 0.7603 MB / 1.033 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.465, allocations: 26.28 kB / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4651, allocations: 91.39 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4651, allocations: 0 / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.4791, allocations: 5.251 MB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.4793, allocations: 228.3 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.073, allocations: 0 / 1.039 GB, free: 12.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 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.mat","/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