Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.263/2.263, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008983, allocations: 80.03 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.182e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2922, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.979/1.271, allocations: 160.4 MB / 1.375 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.272, allocations: 93.84 kB / 1.376 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03823/1.31, allocations: 14.2 MB / 1.389 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/1.31, allocations: 0 / 1.389 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.517e-05/1.31, allocations: 23.92 kB / 1.389 GB, free: 13.71 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001533/1.311, allocations: 0.8429 MB / 1.39 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.312, allocations: 8.031 kB / 1.39 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/1.312, allocations: 90.64 kB / 1.39 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/1.312, allocations: 75.14 kB / 1.39 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008396/1.313, allocations: 464.5 kB / 1.391 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/1.313, allocations: 42.5 kB / 1.391 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/1.313, allocations: 56.75 kB / 1.391 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/1.314, allocations: 0.5392 MB / 1.392 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.314, allocations: 0 / 1.392 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/1.314, allocations: 18.88 kB / 1.392 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/1.314, allocations: 12 kB / 1.392 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/1.315, allocations: 419.8 kB / 1.392 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/1.317, allocations: 1.555 MB / 1.393 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/1.318, allocations: 459.6 kB / 1.394 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/1.318, allocations: 227.7 kB / 1.394 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/1.318, allocations: 4.562 kB / 1.394 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/1.319, allocations: 296.9 kB / 1.394 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=63): time 2.304e-06/1.319, allocations: 0 / 1.394 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63): time 0.0008675/1.32, allocations: 456.2 kB / 1.395 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/1.32, allocations: 119.4 kB / 1.395 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/1.32, allocations: 458.7 kB / 1.395 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/1.32, allocations: 55.33 kB / 1.395 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/1.321, allocations: 257.5 kB / 1.396 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.321, allocations: 149.6 kB / 1.396 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/1.321, allocations: 16.75 kB / 1.396 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.321, allocations: 366.8 kB / 1.396 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/1.321, allocations: 180.5 kB / 1.396 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/1.322, allocations: 306.3 kB / 1.397 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/1.322, allocations: 205.8 kB / 1.397 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.322, allocations: 0 / 1.397 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009368/1.323, allocations: 0.584 MB / 1.397 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/1.323, allocations: 33.95 kB / 1.397 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.323, allocations: 8 kB / 1.397 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/1.323, allocations: 4 kB / 1.397 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/1.324, allocations: 86.06 kB / 1.398 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.324, allocations: 8 kB / 1.398 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/1.324, allocations: 84.56 kB / 1.398 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/1.324, allocations: 23.38 kB / 1.398 GB, free: 6.957 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0001995/1.324, allocations: 175.9 kB / 1.398 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/1.324, allocations: 54.64 kB / 1.398 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009503/1.325, allocations: 0.5422 MB / 1.398 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.325, allocations: 11.98 kB / 1.398 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.325, allocations: 4 kB / 1.398 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.325, allocations: 0 / 1.398 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/1.327, allocations: 1.326 MB / 1.4 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.327, allocations: 3.938 kB / 1.4 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/1.328, allocations: 67.27 kB / 1.4 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.328, allocations: 0 / 1.4 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/1.328, allocations: 18.05 kB / 1.4 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.328, allocations: 4 kB / 1.4 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.328, allocations: 4 kB / 1.4 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/1.329, allocations: 0.5971 MB / 1.4 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/1.329, allocations: 139.3 kB / 1.401 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/1.329, allocations: 18.75 kB / 1.401 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/1.329, allocations: 65.88 kB / 1.401 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.329, allocations: 89.61 kB / 1.401 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/1.329, allocations: 23.8 kB / 1.401 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003721/1.33, allocations: 326.8 kB / 1.401 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.33, allocations: 0 / 1.401 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005762/1.33, allocations: 156.3 kB / 1.401 GB, free: 4.031 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002637/1.333, allocations: 1.678 MB / 1.403 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009498/1.334, allocations: 0.557 MB / 1.403 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.334, allocations: 0 / 1.403 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/1.334, allocations: 267.1 kB / 1.404 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/1.335, allocations: 86.03 kB / 1.404 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/1.337, allocations: 0.9182 MB / 1.405 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/1.337, allocations: 0.9118 MB / 1.406 GB, free: 312 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003131/1.338, allocations: 88.56 kB / 1.406 GB, free: 220 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.338, allocations: 208.7 kB / 1.406 GB, free: 152 kB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/1.338, allocations: 0 / 1.406 GB, free: 152 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/1.368, allocations: 12.38 MB / 1.418 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.369, allocations: 231.5 kB / 1.418 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.755, allocations: 0 / 1.418 GB, free: 3.754 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat does not exist to compare? outputFormat=mat