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.009559/0.009559, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.001961/0.001961, allocations: 188.1 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.007/2.007, 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 10.1.1-maint.10.0.x/package.mo): time 4.405/4.405, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 75.83 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5606, allocations: 151.6 MB / 1.166 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.005659/0.5664, allocations: 2.034 MB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.5684, allocations: 0.7052 MB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.5686, allocations: 7.938 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.5689, allocations: 35.61 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.5691, allocations: 47.58 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.57, allocations: 151.8 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.5707, allocations: 395.2 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005834/0.5713, allocations: 247.7 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.5716, allocations: 135.5 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.5719, allocations: 151.3 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.5721, allocations: 36 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.5722, allocations: 44 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.5724, allocations: 83.75 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.5726, allocations: 147.2 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008732/0.5735, allocations: 426.6 kB / 1.171 GB, free: 2.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5736, allocations: 0 / 1.171 GB, free: 2.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5736, allocations: 0 / 1.171 GB, free: 2.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.5736, allocations: 0 / 1.171 GB, free: 2.84 MB / 0.92 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.001538/0.5752, allocations: 0.5881 MB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.5752, allocations: 12.03 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.5754, allocations: 62.72 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.5755, allocations: 32.75 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.5763, allocations: 265 kB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.5764, allocations: 24.92 kB / 1.172 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/0.5765, allocations: 40.31 kB / 1.172 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.5775, allocations: 319.8 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.5775, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.5776, allocations: 15.94 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.5776, allocations: 4 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/0.5786, allocations: 234.1 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.5813, allocations: 0.9326 MB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5823, allocations: 251.5 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.5827, allocations: 121.3 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.5828, allocations: 4.234 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.5833, allocations: 167.4 kB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 4.027e-06/0.5834, allocations: 4 kB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001351/0.5847, allocations: 325.4 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.5848, allocations: 59.41 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.5851, allocations: 203.4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.5852, allocations: 41.7 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.5854, allocations: 156.8 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5855, allocations: 83.36 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.5858, allocations: 85.67 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.586, allocations: 330.8 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.5863, allocations: 99.84 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.5868, allocations: 149 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.5874, allocations: 212.8 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5875, allocations: 3.938 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009203/0.5884, allocations: 312.8 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5884, allocations: 4 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5885, allocations: 4 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5885, allocations: 0 / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.5888, allocations: 39.91 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.5889, allocations: 7.938 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.5892, allocations: 47.97 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.5893, allocations: 8 kB / 1.176 GB, free: 13.38 MB / 0.9356 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.000287/0.5896, allocations: 181.6 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.5897, allocations: 23.86 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.5906, allocations: 276.2 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.5906, allocations: 4 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5906, allocations: 4 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5906, allocations: 3.984 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.5924, allocations: 0.7258 MB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5924, allocations: 0 / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.5926, allocations: 27.92 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.5926, allocations: 3.984 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5927, allocations: 8 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5927, allocations: 4 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5927, allocations: 3.938 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.5936, allocations: 356.4 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.5937, allocations: 104.8 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.5937, allocations: 11.98 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.5941, allocations: 27.97 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.5943, allocations: 39.89 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.5943, allocations: 4 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001811/0.5945, allocations: 139.1 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5945, allocations: 0 / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006033/0.5951, allocations: 67.84 kB / 1.178 GB, free: 11.29 MB / 0.9356 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.001355/0.5965, allocations: 0.9141 MB / 1.179 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000867/0.5974, allocations: 244.1 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5974, allocations: 4 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.5978, allocations: 132.1 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.5984, allocations: 39.91 kB / 1.179 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.6036, allocations: 2.54 MB / 1.181 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.6042, allocations: 0.7641 MB / 1.182 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.6044, allocations: 30.28 kB / 1.182 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.6047, allocations: 87.41 kB / 1.182 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/0.6047, allocations: 0 / 1.182 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/0.733, allocations: 5.628 MB / 1.188 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/16.86, allocations: 4 kB / 1.188 GB, free: 0.9062 MB / 0.9356 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