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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.389/3.389, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003243/0.003243, allocations: 66.98 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4471, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004427/0.4516, allocations: 2.077 MB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4536, allocations: 0.7993 MB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.4539, allocations: 7.938 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.4542, allocations: 39.55 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.4544, allocations: 43.59 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.4551, allocations: 175.7 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.4558, allocations: 411.1 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.4563, allocations: 205.3 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.4567, allocations: 147.5 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.4571, allocations: 147.4 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.56e-05/0.4572, allocations: 40 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.4573, allocations: 55.98 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.4575, allocations: 83.7 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.4577, allocations: 151.2 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.4583, allocations: 430.3 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4583, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4583, allocations: 4 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.4583, allocations: 4 kB / 1.358 GB, free: 3.676 MB / 1.045 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.001195/0.4595, allocations: 0.5012 MB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.4596, allocations: 12.02 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.4597, allocations: 66.67 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.4602, allocations: 64.7 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.4608, allocations: 226 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.4608, allocations: 25.03 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.4609, allocations: 28.38 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.4615, allocations: 317.1 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4616, allocations: 4 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.4616, allocations: 16 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4616, allocations: 8 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.4621, allocations: 238.5 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.4638, allocations: 0.8788 MB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.4644, allocations: 241.5 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.4646, allocations: 98.45 kB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.4646, allocations: 4.234 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.465, allocations: 167.5 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.465, allocations: 0 / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0007656/0.4657, allocations: 314.2 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4658, allocations: 59.41 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.466, allocations: 210.5 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.4661, allocations: 41.7 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4662, allocations: 164.8 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.4663, allocations: 79.38 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4665, allocations: 77.67 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4666, allocations: 334.8 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.4669, allocations: 91.95 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.4671, allocations: 157.7 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.4676, allocations: 210 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4676, allocations: 11.94 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005905/0.4682, allocations: 300.8 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4682, allocations: 8 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4682, allocations: 0 / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4682, allocations: 7.938 kB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4684, allocations: 35.91 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4684, allocations: 8.156 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.4687, allocations: 43.81 kB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.4687, allocations: 16 kB / 1.362 GB, free: 14.44 MB / 1.061 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.0002127/0.4689, allocations: 185.5 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.4689, allocations: 19.86 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/0.469, allocations: 30.64 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.469, allocations: 8 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.469, allocations: 0 / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4691, allocations: 0 / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.4702, allocations: 0.693 MB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4702, allocations: 0 / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.4703, allocations: 23.98 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.4704, allocations: 0 / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.4704, allocations: 15.94 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4704, allocations: 0 / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4704, allocations: 3.938 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.4709, allocations: 348.2 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.471, allocations: 23.8 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.471, allocations: 7.984 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.4712, allocations: 27.97 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4713, allocations: 43.88 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4713, allocations: 8 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001445/0.4715, allocations: 139.3 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4715, allocations: 0 / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003412/0.4718, allocations: 63.84 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$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 (30): * Single equations (assignments): 26 * 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.000935/0.4728, allocations: 0.8863 MB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.4733, allocations: 235.5 kB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4733, allocations: 0 / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.4736, allocations: 116.1 kB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4739, allocations: 47.77 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.4777, allocations: 2.546 MB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.4781, allocations: 0.7636 MB / 1.368 GB, free: 7.988 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.4783, allocations: 26.28 kB / 1.368 GB, free: 7.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.4784, allocations: 83.41 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of SimCode: time 8.91e-07/0.4784, allocations: 3.938 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.5225, allocations: 5.67 MB / 1.374 GB, free: 2.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.1, allocations: 11 kB / 1.374 GB, free: 2.348 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.10746747511439]