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.419/2.419, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001243/0.001243, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.597/1.597, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001099/0.001099, allocations: 98.47 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.348e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.847, allocations: 471.9 MB / 1.673 GB, free: 7.117 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/1.848, allocations: 104.5 kB / 1.673 GB, free: 7.059 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.972/7.82, allocations: 1.288 GB / 2.962 GB, free: 110.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.256e-06/7.82, allocations: 0 / 2.962 GB, free: 110.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004081/7.82, allocations: 83.42 kB / 2.962 GB, free: 110.1 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.008532/7.829, allocations: 2.921 MB / 2.965 GB, free: 107.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/7.829, allocations: 8.031 kB / 2.965 GB, free: 107.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004838/7.829, allocations: 232 kB / 2.965 GB, free: 106.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/7.832, allocations: 0.5387 MB / 2.965 GB, free: 106.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006462/7.838, allocations: 3.321 MB / 2.969 GB, free: 103 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007162/7.839, allocations: 275.5 kB / 2.969 GB, free: 102.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/7.839, allocations: 183.9 kB / 2.969 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/7.843, allocations: 1.979 MB / 2.971 GB, free: 100.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/7.843, allocations: 4 kB / 2.971 GB, free: 100.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/7.843, allocations: 64 kB / 2.971 GB, free: 100.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/7.843, allocations: 58.92 kB / 2.971 GB, free: 100.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/7.845, allocations: 1.652 MB / 2.973 GB, free: 98.71 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.0166/7.862, allocations: 11.21 MB / 2.984 GB, free: 86.77 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/7.864, allocations: 1.434 MB / 2.985 GB, free: 85.25 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/7.865, allocations: 0.6336 MB / 2.986 GB, free: 84.61 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/7.866, allocations: 1.235 MB / 2.987 GB, free: 83.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/7.867, allocations: 0.7242 MB / 2.988 GB, free: 82.38 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001899/7.869, allocations: 186.8 kB / 2.988 GB, free: 82.19 MB / 1.167 GB Notification: Performance of pre-optimization done (n=107): time 4.488e-06/7.869, allocations: 0 / 2.988 GB, free: 82.19 MB / 1.167 GB Notification: Performance of matching and sorting (n=107): time 0.002489/7.871, allocations: 1.461 MB / 2.989 GB, free: 80.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/7.871, allocations: 222.6 kB / 2.989 GB, free: 80.45 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/7.875, allocations: 2.237 MB / 2.992 GB, free: 78.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/7.875, allocations: 61.7 kB / 2.992 GB, free: 78.13 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/7.876, allocations: 1.184 MB / 2.993 GB, free: 76.93 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/7.876, allocations: 370.6 kB / 2.993 GB, free: 76.56 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/7.876, allocations: 32 kB / 2.993 GB, free: 76.53 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000116/7.876, allocations: 361.9 kB / 2.993 GB, free: 76.17 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009384/7.877, allocations: 0.642 MB / 2.994 GB, free: 75.53 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/7.879, allocations: 1.062 MB / 2.995 GB, free: 74.31 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/7.88, allocations: 0.8014 MB / 2.996 GB, free: 73.51 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/7.88, allocations: 0 / 2.996 GB, free: 73.51 MB / 1.167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003235/7.883, allocations: 2.034 MB / 2.998 GB, free: 71.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007682/7.884, allocations: 2.897 MB / 3.001 GB, free: 68.35 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/7.884, allocations: 8 kB / 3.001 GB, free: 68.34 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/7.884, allocations: 51 kB / 3.001 GB, free: 68.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/7.886, allocations: 383.4 kB / 3.001 GB, free: 67.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000387/7.886, allocations: 0.5913 MB / 3.002 GB, free: 67.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/7.889, allocations: 259.5 kB / 3.002 GB, free: 67.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/7.889, allocations: 79.94 kB / 3.002 GB, free: 66.97 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/7.889, allocations: 4 kB / 3.002 GB, free: 66.96 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002676/7.891, allocations: 1.798 MB / 3.004 GB, free: 65.16 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/7.892, allocations: 11.98 kB / 3.004 GB, free: 65.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/7.892, allocations: 64.97 kB / 3.004 GB, free: 65.08 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/7.893, allocations: 379.5 kB / 3.004 GB, free: 64.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/7.895, allocations: 1.591 MB / 3.006 GB, free: 62.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/7.897, allocations: 243.5 kB / 3.006 GB, free: 62.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/7.897, allocations: 71.97 kB / 3.006 GB, free: 62.68 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 () * 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.0004735/7.898, allocations: 228.4 kB / 3.006 GB, free: 62.44 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/7.898, allocations: 260.7 kB / 3.007 GB, free: 62.18 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/7.902, allocations: 1.848 MB / 3.008 GB, free: 60.34 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/7.902, allocations: 12 kB / 3.008 GB, free: 60.33 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/7.902, allocations: 0 / 3.008 GB, free: 60.33 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002006/7.904, allocations: 1.524 MB / 3.01 GB, free: 58.75 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/7.911, allocations: 4.612 MB / 3.014 GB, free: 54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/7.911, allocations: 11.73 kB / 3.014 GB, free: 53.99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/7.912, allocations: 242.1 kB / 3.015 GB, free: 53.75 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/7.913, allocations: 36.84 kB / 3.015 GB, free: 53.71 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/7.913, allocations: 47.91 kB / 3.015 GB, free: 53.67 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002787/7.913, allocations: 0.5563 MB / 3.015 GB, free: 53.09 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/7.913, allocations: 4 kB / 3.015 GB, free: 53.08 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/7.917, allocations: 2.842 MB / 3.018 GB, free: 50.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/7.918, allocations: 0.6184 MB / 3.019 GB, free: 49.45 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/7.919, allocations: 32 kB / 3.019 GB, free: 49.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/7.92, allocations: 199.7 kB / 3.019 GB, free: 49.22 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/7.92, allocations: 80.84 kB / 3.019 GB, free: 49.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/7.921, allocations: 55.89 kB / 3.019 GB, free: 49.09 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002985/7.924, allocations: 1.759 MB / 3.021 GB, free: 47.32 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.924, allocations: 0 / 3.021 GB, free: 47.32 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004849/7.928, allocations: 1.357 MB / 3.022 GB, free: 45.96 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * 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.006379/7.935, allocations: 4.996 MB / 3.027 GB, free: 40.95 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004609/7.939, allocations: 2.844 MB / 3.03 GB, free: 38.06 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/7.939, allocations: 4 kB / 3.03 GB, free: 38.05 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/7.94, allocations: 0.7664 MB / 3.03 GB, free: 37.28 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/7.947, allocations: 1.302 MB / 3.032 GB, free: 36.06 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/7.961, allocations: 4.559 MB / 3.036 GB, free: 31.43 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/7.964, allocations: 1.844 MB / 3.038 GB, free: 29.55 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004665/7.968, allocations: 0.9042 MB / 3.039 GB, free: 28.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/7.97, allocations: 1.058 MB / 3.04 GB, free: 27.65 MB / 1.167 GB Notification: Performance of SimCode: time 1.223e-06/7.97, allocations: 0 / 3.04 GB, free: 27.65 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/9.163, allocations: 89.41 MB / 3.127 GB, free: 175.7 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/9.164, allocations: 265.2 kB / 3.127 GB, free: 175.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.774/14.94, allocations: 0 / 3.127 GB, free: 175.4 MB / 1.198 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