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.325/2.325, allocations: 390.5 MB / 398 MB, free: 10.96 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.001309/0.001309, allocations: 179.2 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001037/0.001037, allocations: 94.42 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.497e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3129, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.314, allocations: 159.7 MB / 1.368 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.314, allocations: 96.48 kB / 1.368 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03381/1.348, allocations: 14.02 MB / 1.382 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.354e-06/1.348, allocations: 0 / 1.382 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.482e-05/1.348, allocations: 19.59 kB / 1.382 GB, free: 30.75 MB / 0.8386 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.00151/1.35, allocations: 0.8487 MB / 1.383 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.35, allocations: 7.812 kB / 1.383 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/1.35, allocations: 73.09 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/1.351, allocations: 459.8 kB / 1.384 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/1.351, allocations: 19.12 kB / 1.384 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/1.351, allocations: 42.11 kB / 1.384 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006786/1.351, allocations: 390 kB / 1.384 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/1.352, allocations: 490.6 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.352, allocations: 0 / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/1.352, allocations: 0 / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/1.352, allocations: 11.59 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/1.355, allocations: 1.453 MB / 1.386 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/1.355, allocations: 422 kB / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/1.355, allocations: 201.7 kB / 1.386 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/1.355, allocations: 15.36 kB / 1.386 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004191/1.356, allocations: 283.9 kB / 1.387 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 2.204e-06/1.356, allocations: 0 / 1.387 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.0006603/1.357, allocations: 424.3 kB / 1.387 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.357, allocations: 118.6 kB / 1.387 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/1.357, allocations: 429.9 kB / 1.388 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/1.357, allocations: 39.48 kB / 1.388 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/1.357, allocations: 251.5 kB / 1.388 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.357, allocations: 144.2 kB / 1.388 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/1.357, allocations: 0 / 1.388 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.358, allocations: 366 kB / 1.388 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/1.358, allocations: 170 kB / 1.389 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/1.358, allocations: 289.3 kB / 1.389 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/1.358, allocations: 158.8 kB / 1.389 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.358, allocations: 3.844 kB / 1.389 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006863/1.359, allocations: 0.5009 MB / 1.39 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.359, allocations: 33.83 kB / 1.39 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.359, allocations: 3.844 kB / 1.39 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.359, allocations: 7.797 kB / 1.39 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.36, allocations: 88.03 kB / 1.39 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.36, allocations: 7.531 kB / 1.39 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/1.36, allocations: 61.95 kB / 1.39 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/1.36, allocations: 30.17 kB / 1.39 GB, free: 27.26 MB / 0.8386 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.0001661/1.36, allocations: 151.3 kB / 1.39 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005464/1.361, allocations: 435.8 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/1.361, allocations: 49.64 kB / 1.39 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008073/1.362, allocations: 0.4922 MB / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.362, allocations: 7.625 kB / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.362, allocations: 0 / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.362, allocations: 3.984 kB / 1.391 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.363, allocations: 1.208 MB / 1.392 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.363, allocations: 0 / 1.392 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/1.363, allocations: 65.7 kB / 1.392 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.364, allocations: 3.844 kB / 1.392 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/1.364, allocations: 7.438 kB / 1.392 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/1.364, allocations: 3.719 kB / 1.392 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.364, allocations: 0 / 1.392 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/1.364, allocations: 0.5605 MB / 1.393 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.364, allocations: 137.9 kB / 1.393 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/1.364, allocations: 15.67 kB / 1.393 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/1.365, allocations: 47.14 kB / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.365, allocations: 95.52 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/1.365, allocations: 22.77 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003141/1.365, allocations: 307.3 kB / 1.393 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.365, allocations: 0 / 1.393 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005404/1.366, allocations: 138.8 kB / 1.393 GB, free: 25.77 MB / 0.8386 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.002174/1.368, allocations: 1.603 MB / 1.395 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007345/1.369, allocations: 0.5162 MB / 1.395 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.369, allocations: 0 / 1.395 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/1.369, allocations: 251.3 kB / 1.396 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/1.37, allocations: 73.67 kB / 1.396 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/1.371, allocations: 0.8676 MB / 1.397 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/1.372, allocations: 0.9045 MB / 1.397 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002802/1.372, allocations: 93.88 kB / 1.398 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/1.372, allocations: 210 kB / 1.398 GB, free: 23.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.343e-06/1.372, allocations: 4 kB / 1.398 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/1.403, allocations: 11.65 MB / 1.409 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.404, allocations: 218.2 kB / 1.409 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.779, allocations: 1.375 kB / 1.409 GB, free: 14.14 MB / 0.8386 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