Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001477/0.001477, allocations: 173.3 kB / 498.1 MB, free: 5.742 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009203/0.0009203, allocations: 104.2 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004222, allocations: 8.266 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4554, allocations: 159.7 MB / 1.379 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4557, allocations: 95.92 kB / 1.379 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03943/0.4952, allocations: 14.24 MB / 1.393 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4952, allocations: 0 / 1.393 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.045e-05/0.4953, allocations: 19.94 kB / 1.393 GB, free: 3.871 MB / 0.8855 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.00222/0.4975, allocations: 0.9094 MB / 1.394 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4976, allocations: 8.031 kB / 1.394 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002332/0.4978, allocations: 94.45 kB / 1.394 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.4981, allocations: 71.23 kB / 1.394 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4991, allocations: 465.9 kB / 1.394 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.4992, allocations: 52.98 kB / 1.394 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.4993, allocations: 52 kB / 1.394 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5006, allocations: 0.5622 MB / 1.395 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5006, allocations: 0 / 1.395 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.5007, allocations: 24 kB / 1.395 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.5007, allocations: 15.98 kB / 1.395 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.5018, allocations: 467.6 kB / 1.395 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.5047, allocations: 1.547 MB / 1.397 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.5058, allocations: 0.5064 MB / 1.398 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.5058, allocations: 24.59 kB / 1.398 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006755/0.5065, allocations: 311 kB / 1.398 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.5065, allocations: 4 kB / 1.398 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=63): time 0.001561/0.5081, allocations: 0.674 MB / 1.398 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.5082, allocations: 119.4 kB / 1.399 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/0.5089, allocations: 468.3 kB / 1.399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/0.509, allocations: 49.7 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5093, allocations: 253.2 kB / 1.399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.5094, allocations: 165.9 kB / 1.399 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.5095, allocations: 8 kB / 1.4 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5097, allocations: 366.8 kB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.5102, allocations: 201.9 kB / 1.4 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.5108, allocations: 332.8 kB / 1.4 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.5113, allocations: 228.8 kB / 1.401 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5113, allocations: 0 / 1.401 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001249/0.5126, allocations: 0.6271 MB / 1.401 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.5126, allocations: 37.66 kB / 1.401 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5127, allocations: 0 / 1.401 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.5127, allocations: 12.23 kB / 1.401 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.5131, allocations: 91.83 kB / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.5131, allocations: 4 kB / 1.401 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.5136, allocations: 83.69 kB / 1.401 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.5136, allocations: 27.94 kB / 1.401 GB, free: 10.76 MB / 0.9011 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 () * Number of clocked 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.0003661/0.514, allocations: 273.6 kB / 1.402 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5141, allocations: 55.28 kB / 1.402 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.5154, allocations: 0.5865 MB / 1.402 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.5154, allocations: 4 kB / 1.402 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5154, allocations: 0 / 1.402 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.5154, allocations: 7.984 kB / 1.402 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.5179, allocations: 1.379 MB / 1.404 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5179, allocations: 0 / 1.404 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.5182, allocations: 59.91 kB / 1.404 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.5182, allocations: 3.984 kB / 1.404 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.5182, allocations: 16 kB / 1.404 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5182, allocations: 4 kB / 1.404 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5182, allocations: 0 / 1.404 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5194, allocations: 0.6512 MB / 1.404 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.5195, allocations: 144.4 kB / 1.405 GB, free: 7.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.5196, allocations: 12 kB / 1.405 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.52, allocations: 63.94 kB / 1.405 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.5202, allocations: 92.42 kB / 1.405 GB, free: 7.316 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.5203, allocations: 23.98 kB / 1.405 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004226/0.5207, allocations: 331.1 kB / 1.405 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.51e-07/0.5207, allocations: 0 / 1.405 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000624/0.5214, allocations: 163.7 kB / 1.405 GB, free: 6.809 MB / 0.9011 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) * Number of clocked states: 0 () * 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.003067/0.5244, allocations: 1.806 MB / 1.407 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.5257, allocations: 0.5973 MB / 1.408 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5257, allocations: 0 / 1.408 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.5262, allocations: 291 kB / 1.408 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.5267, allocations: 77.5 kB / 1.408 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.5327, allocations: 4.358 MB / 1.412 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.5332, allocations: 0.9048 MB / 1.413 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.5336, allocations: 92.56 kB / 1.413 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.5339, allocations: 219.3 kB / 1.413 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.5339, allocations: 0 / 1.413 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.5665, allocations: 12.33 MB / 1.425 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.5669, allocations: 252.9 kB / 1.426 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.91, allocations: 0 / 1.426 GB, free: 2.18 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat does not exist to compare? outputFormat=mat