Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_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.001213/0.001216, 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.001234/0.001234, allocations: 194.1 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4943, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002424/0.4967, allocations: 2.035 MB / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.4976, allocations: 0.6963 MB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.4977, allocations: 3.5 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.4978, allocations: 43.09 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.4979, allocations: 39.31 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.4982, allocations: 153.1 kB / 0.9526 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.4985, allocations: 397.2 kB / 0.953 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.4988, allocations: 250.1 kB / 0.9532 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.4989, allocations: 133.9 kB / 0.9534 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.499, allocations: 150.3 kB / 0.9535 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.4991, allocations: 37.72 kB / 0.9535 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.4992, allocations: 46.09 kB / 0.9536 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.4992, allocations: 83.39 kB / 0.9537 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.66e-05/0.4993, allocations: 154.4 kB / 0.9538 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.4996, allocations: 401.2 kB / 0.9542 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4996, allocations: 9.406 kB / 0.9542 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4996, allocations: 0 / 0.9542 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4996, allocations: 0 / 0.9542 GB, free: 5.777 MB / 0.7169 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.0006234/0.5002, allocations: 0.5648 MB / 0.9548 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.5003, allocations: 9.656 kB / 0.9548 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.5003, allocations: 64.09 kB / 0.9548 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.5004, allocations: 37.44 kB / 0.9549 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.5006, allocations: 286.8 kB / 0.9551 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.5006, allocations: 26.66 kB / 0.9552 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.5007, allocations: 32.73 kB / 0.9552 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.5011, allocations: 313.3 kB / 0.9555 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5011, allocations: 0 / 0.9555 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.5012, allocations: 10.88 kB / 0.9555 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5012, allocations: 6.719 kB / 0.9555 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.5016, allocations: 242.8 kB / 0.9557 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5026, allocations: 0.9262 MB / 0.9566 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.5031, allocations: 253.8 kB / 0.9569 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.5032, allocations: 117.1 kB / 0.957 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.5033, allocations: 3.828 kB / 0.957 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.5035, allocations: 153.6 kB / 0.9571 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.5035, allocations: 1.375 kB / 0.9571 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005576/0.5041, allocations: 335.6 kB / 0.9575 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.5041, allocations: 59.53 kB / 0.9575 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.5042, allocations: 200.4 kB / 0.9577 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.5043, allocations: 42.09 kB / 0.9578 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.5043, allocations: 156.9 kB / 0.9579 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.5044, allocations: 75.11 kB / 0.958 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.5045, allocations: 81.14 kB / 0.9581 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.5045, allocations: 335.6 kB / 0.9584 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.5047, allocations: 93.7 kB / 0.9585 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.5049, allocations: 149.2 kB / 0.9586 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.5052, allocations: 214.5 kB / 0.9588 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5052, allocations: 3.938 kB / 0.9588 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004554/0.5057, allocations: 307.9 kB / 0.9591 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5057, allocations: 10.12 kB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5057, allocations: 1.188 kB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5057, allocations: 7.188 kB / 0.9591 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5059, allocations: 38.25 kB / 0.9592 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5059, allocations: 2.719 kB / 0.9592 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.5061, allocations: 49.81 kB / 0.9592 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.5062, allocations: 17.55 kB / 0.9592 GB, free: 1.887 MB / 0.7169 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.0001144/0.5063, allocations: 169.3 kB / 0.9594 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5063, allocations: 22 kB / 0.9594 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.5068, allocations: 281 kB / 0.9597 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5068, allocations: 6.672 kB / 0.9597 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5068, allocations: 9.062 kB / 0.9597 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5068, allocations: 0 / 0.9597 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.5076, allocations: 0.7257 MB / 0.9604 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5076, allocations: 0 / 0.9604 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.5077, allocations: 31.91 kB / 0.9604 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5078, allocations: 1.594 kB / 0.9604 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.5078, allocations: 10.22 kB / 0.9604 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5078, allocations: 1.531 kB / 0.9604 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5078, allocations: 3.938 kB / 0.9605 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.5082, allocations: 351.5 kB / 0.9608 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.5082, allocations: 104.3 kB / 0.9609 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.5083, allocations: 6.375 kB / 0.9609 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.5085, allocations: 28.25 kB / 0.9609 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.5085, allocations: 39.55 kB / 0.961 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5086, allocations: 10.34 kB / 0.961 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.5086, allocations: 138.9 kB / 0.9611 GB, free: 460 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5086, allocations: 0 / 0.9611 GB, free: 460 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002881/0.5089, allocations: 62.19 kB / 0.9612 GB, free: 444 kB / 0.7169 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.0006359/0.5096, allocations: 0.9133 MB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.5101, allocations: 254.5 kB / 0.9623 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5101, allocations: 1.562 kB / 0.9623 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.5103, allocations: 138.7 kB / 0.9624 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.5107, allocations: 37.95 kB / 0.9625 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.5134, allocations: 2.558 MB / 0.965 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.5137, allocations: 0.7602 MB / 0.9657 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.5138, allocations: 34.03 kB / 0.9657 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.514, allocations: 87.41 kB / 0.9658 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.514, allocations: 1.094 kB / 0.9658 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.5345, allocations: 5.515 MB / 0.9712 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/7.221, allocations: 17.47 kB / 0.9712 GB, free: 9.941 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches