Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",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.217/2.217, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001159/0.001159, allocations: 190.1 kB / 0.4901 GB, free: 2.246 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.441/1.441, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008986/0.0008984, allocations: 104.2 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 11.22 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2665, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.4569, allocations: 158.3 MB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.4572, allocations: 103.9 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02858/0.4858, allocations: 10.11 MB / 1.394 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4859, allocations: 0 / 1.394 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.049e-05/0.4859, allocations: 12 kB / 1.394 GB, free: 0.8906 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001478/0.4874, allocations: 0.7524 MB / 1.395 GB, free: 76 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4875, allocations: 12.56 kB / 1.395 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.4876, allocations: 66.61 kB / 1.395 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.4878, allocations: 51.44 kB / 1.395 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.4884, allocations: 382.7 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.4885, allocations: 28.66 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/0.4886, allocations: 39.92 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008641/0.4894, allocations: 418.6 kB / 1.396 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4895, allocations: 0 / 1.396 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.4895, allocations: 11.98 kB / 1.396 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.4895, allocations: 12.66 kB / 1.396 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000762/0.4903, allocations: 330.4 kB / 1.396 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.4922, allocations: 1.124 MB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.493, allocations: 362.6 kB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.493, allocations: 4 kB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.4936, allocations: 246.3 kB / 1.398 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=39): time 2.265e-06/0.4936, allocations: 0 / 1.398 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39): time 0.001186/0.4948, allocations: 0.492 MB / 1.398 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.4949, allocations: 118.8 kB / 1.398 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.4953, allocations: 363.5 kB / 1.399 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.4954, allocations: 41.7 kB / 1.399 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.4955, allocations: 205.4 kB / 1.399 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.4956, allocations: 102.6 kB / 1.399 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.4957, allocations: 8 kB / 1.399 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4958, allocations: 354.8 kB / 1.399 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.4962, allocations: 157 kB / 1.399 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.4966, allocations: 262.5 kB / 1.4 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.497, allocations: 186.5 kB / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.497, allocations: 0 / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009923/0.498, allocations: 0.4971 MB / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.4981, allocations: 33.7 kB / 1.4 GB, free: 10 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4981, allocations: 7.953 kB / 1.4 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4981, allocations: 4 kB / 1.4 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.4985, allocations: 72.08 kB / 1.4 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4985, allocations: 3.938 kB / 1.4 GB, free: 9.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.4989, allocations: 63.7 kB / 1.4 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.4989, allocations: 20 kB / 1.4 GB, free: 9.832 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0002454/0.4992, allocations: 211 kB / 1.401 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.4992, allocations: 31.62 kB / 1.401 GB, free: 9.586 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009218/0.5002, allocations: 441.3 kB / 1.401 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.5002, allocations: 7.953 kB / 1.401 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5002, allocations: 0 / 1.401 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5002, allocations: 3.984 kB / 1.401 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.5018, allocations: 0.9931 MB / 1.402 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5018, allocations: 0 / 1.402 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.502, allocations: 55.91 kB / 1.402 GB, free: 8.023 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.502, allocations: 4 kB / 1.402 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.5021, allocations: 7.984 kB / 1.402 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5021, allocations: 4 kB / 1.402 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5021, allocations: 0 / 1.402 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.5029, allocations: 495 kB / 1.403 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.5031, allocations: 136.5 kB / 1.403 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.5031, allocations: 8 kB / 1.403 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.5034, allocations: 43.95 kB / 1.403 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5036, allocations: 59.91 kB / 1.403 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.5036, allocations: 15.98 kB / 1.403 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002989/0.5039, allocations: 271 kB / 1.403 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.914e-06/0.5039, allocations: 0 / 1.403 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004684/0.5044, allocations: 115.9 kB / 1.403 GB, free: 6.855 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: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00213/0.5065, allocations: 1.39 MB / 1.405 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009422/0.5075, allocations: 465.7 kB / 1.405 GB, free: 5.133 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5075, allocations: 3.938 kB / 1.405 GB, free: 5.129 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.508, allocations: 191.8 kB / 1.405 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.5084, allocations: 70.52 kB / 1.405 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.5126, allocations: 3.241 MB / 1.408 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.513, allocations: 0.8242 MB / 1.409 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002345/0.5132, allocations: 67.23 kB / 1.409 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.5134, allocations: 139.4 kB / 1.409 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of SimCode: time 3.71e-07/0.5134, allocations: 0 / 1.409 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.5374, allocations: 9.097 MB / 1.418 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.5377, allocations: 270.6 kB / 1.419 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.635, allocations: 1.875 kB / 1.419 GB, free: 7.305 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat does not exist to compare? outputFormat=mat