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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001051/0.001051, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001267/0.001267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7328, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002129/0.735, allocations: 1.712 MB / 0.9555 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.736, allocations: 0.6871 MB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.7362, allocations: 3.969 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.7363, allocations: 27.42 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.244e-05/0.7364, allocations: 31.17 kB / 0.9563 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.7367, allocations: 105 kB / 0.9564 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.7371, allocations: 345.9 kB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.7374, allocations: 196.5 kB / 0.9569 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.7376, allocations: 93.75 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.7378, allocations: 116.2 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.7378, allocations: 13.06 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.7379, allocations: 20.02 kB / 0.9571 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.738, allocations: 50.95 kB / 0.9572 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.738, allocations: 71.05 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.7383, allocations: 297 kB / 0.9575 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7383, allocations: 4 kB / 0.9575 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7383, allocations: 0 / 0.9575 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7383, allocations: 0 / 0.9575 GB, free: 5.258 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.0006956/0.739, allocations: 0.5238 MB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7391, allocations: 8.938 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.7392, allocations: 68.28 kB / 0.9581 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.7392, allocations: 31.62 kB / 0.9581 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.7395, allocations: 266.8 kB / 0.9584 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.7395, allocations: 29.27 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.7396, allocations: 31.95 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.7402, allocations: 314.6 kB / 0.9587 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.7402, allocations: 1.375 kB / 0.9587 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.7402, allocations: 14.75 kB / 0.9588 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.7402, allocations: 10.83 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.7407, allocations: 238.9 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.742, allocations: 0.9477 MB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.7426, allocations: 250.5 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.7428, allocations: 123.1 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.7428, allocations: 2.984 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.7432, allocations: 169.1 kB / 0.9604 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.7432, allocations: 0 / 0.9604 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0007177/0.7439, allocations: 337.2 kB / 0.9608 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.7439, allocations: 60.42 kB / 0.9608 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.7441, allocations: 206.4 kB / 0.961 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.7442, allocations: 38.17 kB / 0.961 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.7443, allocations: 161.9 kB / 0.9612 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.7443, allocations: 74.14 kB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.7443, allocations: 5 kB / 0.9613 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.7444, allocations: 340.2 kB / 0.9616 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.7446, allocations: 96.8 kB / 0.9617 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.7449, allocations: 151.3 kB / 0.9618 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.7451, allocations: 91.38 kB / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7451, allocations: 3.938 kB / 0.9619 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005516/0.7457, allocations: 323.9 kB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7457, allocations: 6.281 kB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7457, allocations: 1.031 kB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.7457, allocations: 3.25 kB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.7459, allocations: 44.22 kB / 0.9623 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.746, allocations: 7.984 kB / 0.9623 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.7462, allocations: 54.28 kB / 0.9624 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.7462, allocations: 13.34 kB / 0.9624 GB, free: 1.543 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.7464, allocations: 169.6 kB / 0.9625 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.7464, allocations: 25.5 kB / 0.9625 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.747, allocations: 282.6 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.747, allocations: 2.688 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.747, allocations: 1.188 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.747, allocations: 7.938 kB / 0.9628 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/0.7479, allocations: 0.7346 MB / 0.9635 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7479, allocations: 0 / 0.9635 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.7481, allocations: 34.05 kB / 0.9636 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.7481, allocations: 10.17 kB / 0.9636 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.7481, allocations: 9.297 kB / 0.9636 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7481, allocations: 1.438 kB / 0.9636 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7481, allocations: 1 kB / 0.9636 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.7486, allocations: 353.8 kB / 0.9639 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.7486, allocations: 98.58 kB / 0.964 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.7487, allocations: 14.2 kB / 0.964 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.7489, allocations: 38.73 kB / 0.9641 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.749, allocations: 40.53 kB / 0.9641 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.749, allocations: 21.62 kB / 0.9641 GB, free: 200 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.7491, allocations: 134.5 kB / 0.9643 GB, free: 96 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7491, allocations: 0 / 0.9643 GB, free: 96 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003115/0.7494, allocations: 64.72 kB / 0.9643 GB, free: 76 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.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008515/0.7503, allocations: 0.9091 MB / 0.9652 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005268/0.7508, allocations: 255.1 kB / 0.9655 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7508, allocations: 0 / 0.9655 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.7511, allocations: 125.5 kB / 0.9656 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.7515, allocations: 47.05 kB / 0.9656 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.7538, allocations: 1.423 MB / 0.967 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.7542, allocations: 0.7571 MB / 0.9678 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000131/0.7543, allocations: 30.22 kB / 0.9678 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.7545, allocations: 86.89 kB / 0.9679 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7545, allocations: 0 / 0.9679 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.7719, allocations: 4.959 MB / 0.9727 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.7721, allocations: 221.7 kB / 0.9729 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.662, allocations: 0 / 0.9729 GB, free: 10.79 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat does not exist to compare? outputFormat=mat