Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001087/0.001087, allocations: 181.7 kB / 498.1 MB, free: 5.77 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.498/1.498, allocations: 223.2 MB / 0.7948 GB, free: 17.82 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.0009291/0.0009291, allocations: 105.8 kB / 0.9346 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003863, allocations: 11.69 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.4566, allocations: 160 MB / 1.379 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4569, allocations: 91.94 kB / 1.379 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.486, allocations: 10.59 MB / 1.39 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.944e-06/0.486, allocations: 0 / 1.39 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.822e-05/0.4861, allocations: 11.94 kB / 1.39 GB, free: 7.184 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001399/0.4875, allocations: 0.7618 MB / 1.39 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4875, allocations: 8.031 kB / 1.39 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.4877, allocations: 66.48 kB / 1.39 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.4878, allocations: 67.33 kB / 1.391 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.4886, allocations: 421.5 kB / 1.391 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.4886, allocations: 20.56 kB / 1.391 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.4887, allocations: 28 kB / 1.391 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.4894, allocations: 360.7 kB / 1.391 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4894, allocations: 0 / 1.391 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.4894, allocations: 11.95 kB / 1.391 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4895, allocations: 8 kB / 1.391 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.49, allocations: 254.1 kB / 1.392 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.4916, allocations: 1.167 MB / 1.393 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.4923, allocations: 295.4 kB / 1.393 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.4924, allocations: 8.172 kB / 1.393 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.4927, allocations: 171.4 kB / 1.393 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.4928, allocations: 3.938 kB / 1.393 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.0009376/0.4937, allocations: 427 kB / 1.394 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.4938, allocations: 158.2 kB / 1.394 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.4943, allocations: 405.1 kB / 1.394 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.4943, allocations: 33.7 kB / 1.394 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.4945, allocations: 228.1 kB / 1.394 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.4946, allocations: 71 kB / 1.394 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.4946, allocations: 4 kB / 1.394 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4947, allocations: 354.8 kB / 1.395 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.495, allocations: 107.9 kB / 1.395 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.4953, allocations: 197.5 kB / 1.395 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4956, allocations: 118.1 kB / 1.395 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4956, allocations: 0 / 1.395 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006441/0.4962, allocations: 336.8 kB / 1.395 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4963, allocations: 4 kB / 1.395 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4963, allocations: 4 kB / 1.395 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4963, allocations: 0 / 1.395 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.4966, allocations: 60.03 kB / 1.396 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.4966, allocations: 7.953 kB / 1.396 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.4969, allocations: 39.77 kB / 1.396 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.4969, allocations: 11.98 kB / 1.396 GB, free: 0.7266 MB / 0.8855 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.0002155/0.4971, allocations: 185.8 kB / 1.396 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.4972, allocations: 47.44 kB / 1.396 GB, free: 500 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006879/0.4979, allocations: 327.7 kB / 1.396 GB, free: 168 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4979, allocations: 4 kB / 1.396 GB, free: 164 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4979, allocations: 4 kB / 1.396 GB, free: 160 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4979, allocations: 3.953 kB / 1.396 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.4984, allocations: 441.3 kB / 1.397 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4984, allocations: 0 / 1.397 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4986, allocations: 47.91 kB / 1.397 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4987, allocations: 0 / 1.397 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4987, allocations: 11.98 kB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4987, allocations: 4 kB / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4987, allocations: 0 / 1.397 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.4996, allocations: 496.2 kB / 1.397 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.4998, allocations: 156.5 kB / 1.397 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.4999, allocations: 8 kB / 1.397 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.5001, allocations: 28.05 kB / 1.397 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.5002, allocations: 23.91 kB / 1.397 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5002, allocations: 7.984 kB / 1.397 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003546/0.5006, allocations: 323.1 kB / 1.398 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5006, allocations: 3.938 kB / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00038/0.501, allocations: 95.78 kB / 1.398 GB, free: 14.46 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.002142/0.5031, allocations: 1.362 MB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.5038, allocations: 269.2 kB / 1.399 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5038, allocations: 0 / 1.399 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.5041, allocations: 147 kB / 1.399 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.5046, allocations: 100.8 kB / 1.4 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.5096, allocations: 2.961 MB / 1.402 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.5102, allocations: 0.8307 MB / 1.403 GB, free: 8.832 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002698/0.5104, allocations: 62.92 kB / 1.403 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.5107, allocations: 143.4 kB / 1.403 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of SimCode: time 8.21e-07/0.5107, allocations: 0 / 1.403 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.5354, allocations: 8.869 MB / 1.412 GB, free: 36 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.5357, allocations: 261.5 kB / 1.412 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.827, allocations: 0 / 1.412 GB, free: 15.69 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat does not exist to compare? outputFormat=mat