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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009605/0.0009605, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005487/0.005487, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437.8 MB / 0.7121 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 8 kB / 0.873 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5619, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00224/0.5642, allocations: 1.765 MB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.5655, allocations: 0.7014 MB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.5657, allocations: 4 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.5658, allocations: 23.8 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.5659, allocations: 39.7 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.5664, allocations: 131.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.5668, allocations: 371 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.5671, allocations: 200.3 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.5673, allocations: 107.5 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5675, allocations: 115.4 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.5675, allocations: 12 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.5676, allocations: 16 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.5677, allocations: 55.81 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.5678, allocations: 148.9 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.5682, allocations: 372.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.5682, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5682, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5682, allocations: 4 kB / 1.027 GB, free: 11.85 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.0008045/0.569, allocations: 0.5067 MB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5691, allocations: 8.031 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.149e-05/0.5692, allocations: 70.72 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.5693, allocations: 32.56 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.5696, allocations: 267.8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.5696, allocations: 28.94 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.5696, allocations: 32.38 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.5702, allocations: 323.6 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5702, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.5703, allocations: 12 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.5703, allocations: 12 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.5708, allocations: 246 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.5722, allocations: 0.948 MB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.5727, allocations: 261.4 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.5729, allocations: 125.3 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.573, allocations: 240 / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.5733, allocations: 163.5 kB / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.5733, allocations: 0 / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006751/0.574, allocations: 335.5 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.574, allocations: 63.34 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.5742, allocations: 211 kB / 1.031 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.5743, allocations: 37.7 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5744, allocations: 148.7 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.5744, allocations: 82.89 kB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.5745, allocations: 53.69 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5746, allocations: 334.8 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5749, allocations: 99.95 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.5751, allocations: 153 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.5755, allocations: 232.5 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5755, allocations: 0 / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005307/0.576, allocations: 305 kB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.576, allocations: 8 kB / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5761, allocations: 0 / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5761, allocations: 7.984 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.5763, allocations: 52 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5763, allocations: 4 kB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.5765, allocations: 59.66 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.5765, allocations: 11.98 kB / 1.032 GB, free: 6.418 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.000168/0.5767, allocations: 177.7 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.5768, allocations: 15.81 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/0.5773, allocations: 292 kB / 1.033 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5773, allocations: 4 kB / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5773, allocations: 4 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5773, allocations: 0 / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000994/0.5783, allocations: 0.7444 MB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.5784, allocations: 4 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.5785, allocations: 23.98 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5785, allocations: 3.938 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5785, allocations: 12 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5785, allocations: 0 / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5785, allocations: 3.938 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.579, allocations: 375.6 kB / 1.034 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.5791, allocations: 100.8 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.5791, allocations: 8 kB / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.5793, allocations: 35.97 kB / 1.034 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5795, allocations: 43.88 kB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.5795, allocations: 8 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.214e-05/0.5796, allocations: 131.2 kB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5796, allocations: 0 / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002986/0.5799, allocations: 63.84 kB / 1.034 GB, free: 4.285 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.0007835/0.5807, allocations: 0.9093 MB / 1.035 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.5812, allocations: 259.8 kB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5812, allocations: 0 / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.5814, allocations: 140.3 kB / 1.035 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.5818, allocations: 36.23 kB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.5848, allocations: 2.659 MB / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.5851, allocations: 0.7644 MB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.5853, allocations: 30.28 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.5854, allocations: 87.34 kB / 1.039 GB, free: 15.24 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.5854, allocations: 0 / 1.039 GB, free: 15.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.6061, allocations: 4.973 MB / 1.044 GB, free: 10.46 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.6063, allocations: 227.8 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.355, allocations: 2.953 kB / 1.044 GB, free: 10.21 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