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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 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.001134/0.001134, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.421/2.421, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 77.45 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2322, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002971/0.2352, allocations: 2.038 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2363, allocations: 0.713 MB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2364, allocations: 4 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.2366, allocations: 31.61 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2367, allocations: 43.53 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.2371, allocations: 159.8 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.2374, allocations: 387.2 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.2377, allocations: 247.7 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2379, allocations: 135.5 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2381, allocations: 143.4 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.2381, allocations: 40 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.2382, allocations: 44 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.2383, allocations: 87.8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2384, allocations: 151.2 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2388, allocations: 403 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2388, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2388, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2388, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 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.0007376/0.2396, allocations: 0.5651 MB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2396, allocations: 12.03 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.2397, allocations: 66.72 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.2397, allocations: 36.56 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.24, allocations: 272.2 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.24, allocations: 28.92 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.2401, allocations: 28.38 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.2406, allocations: 315.8 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2406, allocations: 0 / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.2406, allocations: 12 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2407, allocations: 12 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.2411, allocations: 234.1 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2423, allocations: 0.9363 MB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.2428, allocations: 251.5 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.243, allocations: 117.3 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.243, allocations: 4.219 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.2433, allocations: 168 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.462e-06/0.2433, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006186/0.2439, allocations: 325.3 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.244, allocations: 59.34 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2441, allocations: 203.3 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2442, allocations: 41.69 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.2443, allocations: 160.6 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.2443, allocations: 82.94 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2445, allocations: 77.67 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2446, allocations: 338.8 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.2447, allocations: 91.95 kB / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.245, allocations: 157 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2453, allocations: 210.4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2453, allocations: 3.938 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004761/0.2458, allocations: 308.6 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2458, allocations: 8 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2458, allocations: 0 / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2459, allocations: 4 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.246, allocations: 47.84 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2461, allocations: 0 / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2462, allocations: 43.97 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2463, allocations: 15.98 kB / 1.073 GB, free: 4.457 MB / 0.8262 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.0001434/0.2464, allocations: 170.2 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.2465, allocations: 23.72 kB / 1.073 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.247, allocations: 292 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.247, allocations: 4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.247, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.247, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.2479, allocations: 0.7249 MB / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2479, allocations: 0 / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.248, allocations: 35.97 kB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2481, allocations: 0 / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2481, allocations: 4 kB / 1.074 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2481, allocations: 0 / 1.074 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2481, allocations: 3.938 kB / 1.074 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.2485, allocations: 359.6 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.2486, allocations: 100.8 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2486, allocations: 12 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2488, allocations: 27.97 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.2489, allocations: 39.89 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.2489, allocations: 11.98 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.018e-05/0.249, allocations: 131.2 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.249, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002855/0.2493, allocations: 63.75 kB / 1.075 GB, free: 2.371 MB / 0.8262 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.0006997/0.25, allocations: 0.9032 MB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.2506, allocations: 267.9 kB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2506, allocations: 3.938 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.2508, allocations: 132.3 kB / 1.076 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2511, allocations: 35.91 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.2538, allocations: 2.535 MB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2541, allocations: 0.7603 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.971e-05/0.2542, allocations: 30.28 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2543, allocations: 83.41 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.2543, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.2749, allocations: 5.527 MB / 1.085 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.872, allocations: 13.52 kB / 1.085 GB, free: 8.074 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv","/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) Reference file matches