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.001174/0.001174, 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.001209/0.001209, allocations: 195.5 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.06/2.06, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4827, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002465/0.4852, allocations: 2.029 MB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.486, allocations: 0.6926 MB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.4861, allocations: 7.781 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.4862, allocations: 39.16 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.971e-05/0.4863, allocations: 42.81 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.4866, allocations: 157.2 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.4869, allocations: 400.3 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.4872, allocations: 250.5 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.4873, allocations: 134.8 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.4874, allocations: 150.2 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.927e-05/0.4875, allocations: 37.88 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.4876, allocations: 45.47 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.4876, allocations: 80.06 kB / 0.9537 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.4877, allocations: 153 kB / 0.9538 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.488, allocations: 398.9 kB / 0.9542 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.488, allocations: 0 / 0.9542 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.488, allocations: 0 / 0.9542 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.488, allocations: 1.094 kB / 0.9542 GB, free: 5.664 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.0006097/0.4886, allocations: 0.5765 MB / 0.9548 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.4887, allocations: 13.19 kB / 0.9548 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.4887, allocations: 68.19 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.4888, allocations: 32.91 kB / 0.9549 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.489, allocations: 271 kB / 0.9551 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.489, allocations: 22.59 kB / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.4891, allocations: 37.3 kB / 0.9552 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.4895, allocations: 321.3 kB / 0.9555 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.4895, allocations: 3.938 kB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.4896, allocations: 11.06 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4896, allocations: 6.844 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.49, allocations: 234.4 kB / 0.9557 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.491, allocations: 0.9349 MB / 0.9566 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.4914, allocations: 248 kB / 0.9569 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.4916, allocations: 120.4 kB / 0.957 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.4917, allocations: 2.734 kB / 0.957 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.4919, allocations: 159.7 kB / 0.9572 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.4919, allocations: 0 / 0.9572 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005708/0.4925, allocations: 327.9 kB / 0.9575 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.4925, allocations: 63.94 kB / 0.9575 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4927, allocations: 199.6 kB / 0.9577 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.4927, allocations: 42.12 kB / 0.9578 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.4928, allocations: 150 kB / 0.9579 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.4928, allocations: 81.72 kB / 0.958 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.4929, allocations: 81.33 kB / 0.9581 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.4929, allocations: 332.3 kB / 0.9584 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.4931, allocations: 97.17 kB / 0.9585 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4933, allocations: 153.5 kB / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.4936, allocations: 210.3 kB / 0.9588 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4936, allocations: 9.25 kB / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004533/0.4941, allocations: 299 kB / 0.9591 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4941, allocations: 9.812 kB / 0.9591 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4941, allocations: 2.156 kB / 0.9591 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4941, allocations: 2.188 kB / 0.9591 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.4943, allocations: 43.22 kB / 0.9592 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4943, allocations: 2.312 kB / 0.9592 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.4945, allocations: 49.5 kB / 0.9592 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.4946, allocations: 17.7 kB / 0.9592 GB, free: 1.766 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.0001152/0.4947, allocations: 173.6 kB / 0.9594 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.4947, allocations: 20.84 kB / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.4952, allocations: 281.1 kB / 0.9597 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4952, allocations: 8.359 kB / 0.9597 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4952, allocations: 0 / 0.9597 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4952, allocations: 3.984 kB / 0.9597 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.496, allocations: 0.7255 MB / 0.9604 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.496, allocations: 0 / 0.9604 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.4961, allocations: 32.56 kB / 0.9604 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4961, allocations: 1.312 kB / 0.9604 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4962, allocations: 6 kB / 0.9604 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4962, allocations: 1.312 kB / 0.9604 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4962, allocations: 7.875 kB / 0.9604 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.4966, allocations: 360.9 kB / 0.9608 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.4966, allocations: 102.9 kB / 0.9609 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.4967, allocations: 6.219 kB / 0.9609 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4969, allocations: 24.38 kB / 0.9609 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.4969, allocations: 39.36 kB / 0.961 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.497, allocations: 10.5 kB / 0.961 GB, free: 440 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.852e-05/0.497, allocations: 140.1 kB / 0.9611 GB, free: 332 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.497, allocations: 0 / 0.9611 GB, free: 332 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000281/0.4973, allocations: 65.91 kB / 0.9612 GB, free: 312 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.0006922/0.498, allocations: 0.9078 MB / 0.962 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.4985, allocations: 259.9 kB / 0.9623 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4986, allocations: 0 / 0.9623 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.4988, allocations: 130.9 kB / 0.9624 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.4991, allocations: 48.45 kB / 0.9625 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.5019, allocations: 2.55 MB / 0.965 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.5022, allocations: 0.7603 MB / 0.9657 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.5023, allocations: 30.33 kB / 0.9657 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.5024, allocations: 87.09 kB / 0.9658 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5024, allocations: 1.062 kB / 0.9658 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5231, allocations: 5.519 MB / 0.9712 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/7.05, allocations: 16.09 kB / 0.9712 GB, free: 9.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 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.mat","/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