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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007423/0.007423, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.001809/0.001809, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.534/2.534, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2768, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003086/0.2799, allocations: 2.033 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2811, allocations: 0.713 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2813, allocations: 4 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2815, allocations: 35.55 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.2817, allocations: 47.53 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.2821, allocations: 159.8 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.2826, allocations: 399.1 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.283, allocations: 243.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2832, allocations: 139.5 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.2834, allocations: 147.4 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.2834, allocations: 36 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.2835, allocations: 47.98 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.2836, allocations: 79.81 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2838, allocations: 147.2 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.2842, allocations: 426.4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2842, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2842, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.2842, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 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.0008589/0.2851, allocations: 0.5842 MB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2851, allocations: 12.03 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.74e-05/0.2852, allocations: 62.72 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.2853, allocations: 32.75 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.2857, allocations: 288.3 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2857, allocations: 20.94 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.2858, allocations: 32.38 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.2863, allocations: 319.8 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2863, allocations: 0 / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.2864, allocations: 12 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2864, allocations: 4 kB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2868, allocations: 238.1 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.2882, allocations: 0.9365 MB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.2887, allocations: 247.5 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.2889, allocations: 117.3 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2889, allocations: 4.234 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.2892, allocations: 151.5 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.2892, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0006462/0.2898, allocations: 329.4 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.2899, allocations: 63.41 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.29, allocations: 211.3 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.2901, allocations: 41.7 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/0.2902, allocations: 148.9 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.2903, allocations: 83.38 kB / 1.228 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2904, allocations: 77.67 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.2905, allocations: 334.8 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2907, allocations: 99.89 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.2909, allocations: 153 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.2913, allocations: 218.3 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2913, allocations: 3.938 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005068/0.2918, allocations: 312.9 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2918, allocations: 5.875 kB / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2918, allocations: 0 / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2918, allocations: 4 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.292, allocations: 39.91 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.2921, allocations: 4 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.2923, allocations: 55.67 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.2923, allocations: 8 kB / 1.229 GB, free: 4.586 MB / 0.9825 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.0001627/0.2925, allocations: 174.6 kB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.2925, allocations: 31.83 kB / 1.229 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.293, allocations: 288.1 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2931, allocations: 4 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2931, allocations: 0 / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2931, allocations: 0 / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2941, allocations: 0.7333 MB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2941, allocations: 0 / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2943, allocations: 27.92 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2943, allocations: 0 / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.2943, allocations: 8 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2943, allocations: 0 / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2943, allocations: 3.938 kB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.2948, allocations: 360.9 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.2948, allocations: 100.9 kB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.2949, allocations: 8 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2951, allocations: 23.97 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.2952, allocations: 39.89 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2952, allocations: 7.984 kB / 1.231 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.987e-05/0.2953, allocations: 135.2 kB / 1.231 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2953, allocations: 0 / 1.231 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003081/0.2956, allocations: 63.89 kB / 1.231 GB, free: 2.504 MB / 0.9825 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.0007836/0.2964, allocations: 0.9097 MB / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.2969, allocations: 243.8 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2969, allocations: 0 / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.2972, allocations: 136.4 kB / 1.232 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.2975, allocations: 47.77 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.3004, allocations: 2.549 MB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3007, allocations: 0.7643 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.3008, allocations: 42.2 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.301, allocations: 83.41 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.301, allocations: 0 / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.3228, allocations: 5.624 MB / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.701, allocations: 6.938 kB / 1.241 GB, free: 8.102 MB / 0.9981 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