Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",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.445/2.445, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001535/0.001535, allocations: 171.4 kB / 498.1 MB, free: 5.727 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.803/1.803, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.000999/0.000999, allocations: 106.6 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004294, allocations: 8.688 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.623, allocations: 472 MB / 1.684 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.623, allocations: 111.7 kB / 1.684 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.238/6.861, allocations: 1.292 GB / 2.976 GB, free: 147.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.885e-06/6.861, allocations: 0 / 2.976 GB, free: 147.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008824/6.862, allocations: 79.62 kB / 2.976 GB, free: 147.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.01595/6.878, allocations: 3.52 MB / 2.979 GB, free: 145.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/6.878, allocations: 9.062 kB / 2.979 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001527/6.88, allocations: 226.6 kB / 2.98 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/6.883, allocations: 0.547 MB / 2.98 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/6.894, allocations: 3.363 MB / 2.983 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008533/6.895, allocations: 268.5 kB / 2.984 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009913/6.896, allocations: 182.7 kB / 2.984 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/6.903, allocations: 2.119 MB / 2.986 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-05/6.903, allocations: 3.719 kB / 2.986 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005652/6.904, allocations: 66.16 kB / 2.986 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/6.904, allocations: 60.14 kB / 2.986 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005304/6.909, allocations: 1.909 MB / 2.988 GB, free: 144.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/6.932, allocations: 11.2 MB / 2.999 GB, free: 139.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/6.935, allocations: 1.641 MB / 3 GB, free: 139.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/6.936, allocations: 1.233 MB / 3.002 GB, free: 138 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/6.938, allocations: 0.8186 MB / 3.002 GB, free: 137.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002117/6.94, allocations: 179.7 kB / 3.003 GB, free: 137.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=107): time 1.086e-05/6.94, allocations: 0 / 3.003 GB, free: 137.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=107): time 0.006173/6.946, allocations: 2.391 MB / 3.005 GB, free: 137.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/6.946, allocations: 223 kB / 3.005 GB, free: 137.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0065/6.953, allocations: 2.299 MB / 3.007 GB, free: 136.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005889/6.953, allocations: 59.77 kB / 3.007 GB, free: 136.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/6.955, allocations: 1.203 MB / 3.009 GB, free: 136.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/6.956, allocations: 364.5 kB / 3.009 GB, free: 136.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/6.957, allocations: 28.06 kB / 3.009 GB, free: 136.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002078/6.957, allocations: 365.1 kB / 3.009 GB, free: 136 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/6.959, allocations: 0.7672 MB / 3.01 GB, free: 136 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/6.961, allocations: 1.184 MB / 3.011 GB, free: 135.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/6.963, allocations: 0.912 MB / 3.012 GB, free: 135.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/6.963, allocations: 0 / 3.012 GB, free: 135.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006055/6.969, allocations: 2.294 MB / 3.014 GB, free: 135.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/6.97, allocations: 2.884 MB / 3.017 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.703e-05/6.971, allocations: 14.7 kB / 3.017 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/6.971, allocations: 58.17 kB / 3.017 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/6.973, allocations: 389 kB / 3.018 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005384/6.973, allocations: 0.592 MB / 3.018 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/6.977, allocations: 268.3 kB / 3.019 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/6.977, allocations: 68.17 kB / 3.019 GB, free: 131.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/6.977, allocations: 4.5 kB / 3.019 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004673/6.982, allocations: 2.06 MB / 3.021 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/6.982, allocations: 11.53 kB / 3.021 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/6.982, allocations: 57.55 kB / 3.021 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/6.984, allocations: 382.3 kB / 3.021 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/6.986, allocations: 1.597 MB / 3.023 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/6.989, allocations: 242.7 kB / 3.023 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/6.989, allocations: 73.94 kB / 3.023 GB, free: 130.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002256/6.991, allocations: 0.7865 MB / 3.024 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/6.992, allocations: 263 kB / 3.024 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/6.998, allocations: 2.024 MB / 3.026 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/6.998, allocations: 22.98 kB / 3.026 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/6.998, allocations: 3.312 kB / 3.026 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/7.001, allocations: 1.711 MB / 3.028 GB, free: 128 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/7.012, allocations: 4.642 MB / 3.032 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/7.012, allocations: 5.562 kB / 3.032 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/7.014, allocations: 241.7 kB / 3.032 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/7.014, allocations: 43.19 kB / 3.032 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/7.014, allocations: 38.02 kB / 3.032 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003012/7.014, allocations: 0.5586 MB / 3.033 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/7.014, allocations: 0 / 3.033 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/7.02, allocations: 3.039 MB / 3.036 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/7.022, allocations: 0.6124 MB / 3.037 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009936/7.023, allocations: 34 kB / 3.037 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/7.026, allocations: 196.6 kB / 3.037 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/7.026, allocations: 80.55 kB / 3.037 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/7.026, allocations: 53.23 kB / 3.037 GB, free: 123.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004584/7.031, allocations: 1.784 MB / 3.039 GB, free: 122.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/7.031, allocations: 0 / 3.039 GB, free: 122.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007146/7.038, allocations: 1.358 MB / 3.04 GB, free: 122.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.s[1],WSE.heaExc.thrWayVal.filter.s[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008926/7.047, allocations: 5.035 MB / 3.045 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00656/7.054, allocations: 3.094 MB / 3.048 GB, free: 118.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/7.054, allocations: 0 / 3.048 GB, free: 118.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/7.055, allocations: 0.8717 MB / 3.049 GB, free: 118 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/7.063, allocations: 1.243 MB / 3.05 GB, free: 117.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/7.086, allocations: 11.65 MB / 3.061 GB, free: 109.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003651/7.09, allocations: 1.834 MB / 3.063 GB, free: 108.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005193/7.095, allocations: 0.6676 MB / 3.064 GB, free: 108.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003338/7.098, allocations: 1.095 MB / 3.065 GB, free: 107.4 MB / 1.167 GB Notification: Performance of SimCode: time 3.025e-06/7.098, allocations: 0 / 3.065 GB, free: 107.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/7.254, allocations: 81.95 MB / 3.145 GB, free: 39.28 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/7.255, allocations: 299.4 kB / 3.145 GB, free: 38.92 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.057/12.31, allocations: 4 kB / 3.145 GB, free: 38.92 MB / 1.167 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat does not exist to compare? outputFormat=mat