Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.236/2.236, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001239/0.001239, allocations: 176 kB / 0.4901 GB, free: 2.25 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.44/1.44, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001077/0.001077, allocations: 95.28 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 10.38 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2465, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.4389, allocations: 160.8 MB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4393, allocations: 107.9 kB / 1.386 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03049/0.4698, allocations: 10.58 MB / 1.397 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4698, allocations: 3.938 kB / 1.397 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.295e-05/0.4699, allocations: 8 kB / 1.397 GB, free: 13.94 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001558/0.4714, allocations: 0.7656 MB / 1.397 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.4715, allocations: 8.562 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.4716, allocations: 70.48 kB / 1.398 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4718, allocations: 51.34 kB / 1.398 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.4726, allocations: 425.5 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.4727, allocations: 24.56 kB / 1.398 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.4727, allocations: 28 kB / 1.398 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.4734, allocations: 352.8 kB / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4735, allocations: 0 / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.4735, allocations: 15.95 kB / 1.398 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4735, allocations: 8 kB / 1.398 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.4741, allocations: 258 kB / 1.399 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.4758, allocations: 1.167 MB / 1.4 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.4765, allocations: 291.4 kB / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4765, allocations: 192 / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.4769, allocations: 184.8 kB / 1.4 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.477, allocations: 7.875 kB / 1.4 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.0009964/0.478, allocations: 415.3 kB / 1.401 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.4781, allocations: 158.2 kB / 1.401 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.4786, allocations: 413 kB / 1.401 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.4786, allocations: 29.7 kB / 1.401 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.4788, allocations: 228.1 kB / 1.401 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.4789, allocations: 74.98 kB / 1.402 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.4789, allocations: 4 kB / 1.402 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4791, allocations: 350.8 kB / 1.402 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.4794, allocations: 111.9 kB / 1.402 GB, free: 8.277 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.4797, allocations: 193 kB / 1.402 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.48, allocations: 112.5 kB / 1.402 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.48, allocations: 0 / 1.402 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006856/0.4807, allocations: 333.9 kB / 1.403 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4807, allocations: 4 kB / 1.403 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4807, allocations: 0 / 1.403 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4807, allocations: 4 kB / 1.403 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.481, allocations: 63.89 kB / 1.403 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.481, allocations: 3.953 kB / 1.403 GB, free: 7.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4813, allocations: 43.83 kB / 1.403 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4813, allocations: 8 kB / 1.403 GB, free: 7.492 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002228/0.4816, allocations: 181.6 kB / 1.403 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.4816, allocations: 43.53 kB / 1.403 GB, free: 7.262 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.4824, allocations: 340.2 kB / 1.403 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4824, allocations: 4 kB / 1.403 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4824, allocations: 0 / 1.403 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4824, allocations: 3.953 kB / 1.403 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.4828, allocations: 449.1 kB / 1.404 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4828, allocations: 0 / 1.404 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.4831, allocations: 51.97 kB / 1.404 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4831, allocations: 4 kB / 1.404 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.4831, allocations: 3.984 kB / 1.404 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4832, allocations: 0 / 1.404 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4832, allocations: 4 kB / 1.404 GB, free: 6.367 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4842, allocations: 0.4978 MB / 1.404 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.4844, allocations: 156.6 kB / 1.404 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.4845, allocations: 4 kB / 1.404 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.4847, allocations: 19.98 kB / 1.404 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.4848, allocations: 20.03 kB / 1.404 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4848, allocations: 16 kB / 1.404 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004109/0.4853, allocations: 319.1 kB / 1.405 GB, free: 5.316 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4853, allocations: 4 kB / 1.405 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000388/0.4857, allocations: 95.73 kB / 1.405 GB, free: 5.219 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002294/0.488, allocations: 1.382 MB / 1.406 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006835/0.4887, allocations: 267.9 kB / 1.406 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4887, allocations: 0 / 1.406 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.489, allocations: 141.4 kB / 1.407 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.4895, allocations: 93.03 kB / 1.407 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.4942, allocations: 2.964 MB / 1.41 GB, free: 444 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.4947, allocations: 0.8307 MB / 1.41 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000244/0.4949, allocations: 54.94 kB / 1.41 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.4952, allocations: 147.4 kB / 1.411 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.4952, allocations: 0 / 1.411 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.5188, allocations: 8.874 MB / 1.419 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.519, allocations: 262 kB / 1.419 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.727, allocations: 6.922 kB / 1.419 GB, free: 6.418 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat does not exist to compare? outputFormat=mat