Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001136/0.001136, allocations: 179 kB / 498.1 MB, free: 5.719 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.432/1.432, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.001008/0.001008, allocations: 111.2 kB / 0.9346 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 9.562 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2792, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.472, allocations: 157.5 MB / 1.377 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4723, allocations: 91.94 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02841/0.5007, allocations: 10.12 MB / 1.387 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5008, allocations: 0 / 1.387 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.273e-05/0.5008, allocations: 12 kB / 1.387 GB, free: 10.13 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.001689/0.5025, allocations: 0.764 MB / 1.387 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5026, allocations: 8.031 kB / 1.388 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.5028, allocations: 70.53 kB / 1.388 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.5029, allocations: 47.44 kB / 1.388 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/0.5037, allocations: 374.9 kB / 1.388 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.5038, allocations: 36.62 kB / 1.388 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.5038, allocations: 36 kB / 1.388 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.5047, allocations: 410.6 kB / 1.388 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5048, allocations: 0 / 1.388 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.5048, allocations: 12 kB / 1.388 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.5049, allocations: 24.53 kB / 1.388 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.5057, allocations: 330.4 kB / 1.389 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.5077, allocations: 1.112 MB / 1.39 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.5085, allocations: 351.3 kB / 1.39 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.5085, allocations: 11.92 kB / 1.39 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.5091, allocations: 243.1 kB / 1.39 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.575e-06/0.5091, allocations: 4 kB / 1.39 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.00126/0.5104, allocations: 0.5021 MB / 1.391 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.5105, allocations: 110.8 kB / 1.391 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.5109, allocations: 367.4 kB / 1.391 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.511, allocations: 45.7 kB / 1.391 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5112, allocations: 204.6 kB / 1.392 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.5113, allocations: 102.8 kB / 1.392 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.5113, allocations: 12 kB / 1.392 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5115, allocations: 346.8 kB / 1.392 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.5119, allocations: 157 kB / 1.392 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.5123, allocations: 266.5 kB / 1.392 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.5128, allocations: 190.4 kB / 1.393 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5128, allocations: 0 / 1.393 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001011/0.5138, allocations: 0.4894 MB / 1.393 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.5139, allocations: 38.62 kB / 1.393 GB, free: 3.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5139, allocations: 3.953 kB / 1.393 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.5139, allocations: 8.188 kB / 1.393 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.5143, allocations: 71.83 kB / 1.393 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.5143, allocations: 4 kB / 1.393 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.5146, allocations: 59.72 kB / 1.393 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.5147, allocations: 27.92 kB / 1.393 GB, free: 3.062 MB / 0.8855 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.0002855/0.515, allocations: 219 kB / 1.394 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.67e-05/0.5151, allocations: 43.47 kB / 1.394 GB, free: 2.797 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/0.516, allocations: 432.8 kB / 1.394 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.516, allocations: 7.953 kB / 1.394 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.516, allocations: 0 / 1.394 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.516, allocations: 0 / 1.394 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.5177, allocations: 0.9859 MB / 1.395 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5177, allocations: 4 kB / 1.395 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.5179, allocations: 47.89 kB / 1.395 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.518, allocations: 0 / 1.395 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.518, allocations: 8 kB / 1.395 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.518, allocations: 4 kB / 1.395 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.518, allocations: 0 / 1.395 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.5189, allocations: 498.6 kB / 1.396 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5191, allocations: 132.5 kB / 1.396 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.5191, allocations: 12 kB / 1.396 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.5194, allocations: 47.95 kB / 1.396 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5196, allocations: 55.92 kB / 1.396 GB, free: 496 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.5196, allocations: 11.98 kB / 1.396 GB, free: 484 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003039/0.5199, allocations: 271 kB / 1.396 GB, free: 216 kB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/0.52, allocations: 0 / 1.396 GB, free: 216 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005127/0.5205, allocations: 123.8 kB / 1.396 GB, free: 92 kB / 0.8855 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.002241/0.5227, allocations: 1.378 MB / 1.397 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009966/0.5237, allocations: 461.4 kB / 1.398 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5238, allocations: 0 / 1.398 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.5242, allocations: 204.1 kB / 1.398 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5246, allocations: 59.09 kB / 1.398 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.5291, allocations: 3.24 MB / 1.401 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.5296, allocations: 0.8241 MB / 1.402 GB, free: 9.957 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000265/0.5298, allocations: 67.23 kB / 1.402 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.5301, allocations: 143.4 kB / 1.402 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of SimCode: time 6.31e-07/0.5301, allocations: 0 / 1.402 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.5562, allocations: 9.093 MB / 1.411 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/0.5566, allocations: 264 kB / 1.411 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.771, allocations: 4.062 kB / 1.411 GB, free: 0.5508 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat does not exist to compare? outputFormat=mat