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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onWSE.y|TEva_in.k|TCon_in.y|TSet.k|TSup.T",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onWSE.y|TEva_in.k|TCon_in.y|TSet.k|TSup.T",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001149/0.001149, allocations: 184.3 kB / 498.1 MB, free: 5.781 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.689/1.689, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.001041/0.001041, allocations: 98.84 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004223, allocations: 10.5 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3595, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.756, allocations: 472 MB / 1.684 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004251/1.757, allocations: 114.8 kB / 1.684 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.434/7.19, allocations: 1.292 GB / 2.976 GB, free: 147.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.977e-06/7.191, allocations: 3.844 kB / 2.976 GB, free: 147.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005991/7.191, allocations: 79.05 kB / 2.976 GB, free: 147.7 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.01347/7.205, allocations: 3.512 MB / 2.979 GB, free: 146.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.758e-05/7.205, allocations: 10.38 kB / 2.979 GB, free: 146.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/7.209, allocations: 0.5434 MB / 2.98 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/7.22, allocations: 3.358 MB / 2.983 GB, free: 145.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/7.221, allocations: 276.8 kB / 2.983 GB, free: 145.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/7.223, allocations: 182.4 kB / 2.984 GB, free: 145.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00784/7.231, allocations: 2.118 MB / 2.986 GB, free: 145 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.496e-05/7.231, allocations: 1.031 kB / 2.986 GB, free: 145 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/7.231, allocations: 68.33 kB / 2.986 GB, free: 145 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/7.231, allocations: 65.73 kB / 2.986 GB, free: 145 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/7.236, allocations: 1.909 MB / 2.988 GB, free: 145 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.02103/7.257, allocations: 11.19 MB / 2.999 GB, free: 140.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/7.26, allocations: 1.639 MB / 3 GB, free: 139.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/7.261, allocations: 1.234 MB / 3.001 GB, free: 138.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/7.263, allocations: 0.821 MB / 3.002 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002519/7.266, allocations: 171.1 kB / 3.002 GB, free: 138.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=107): time 1.281e-05/7.266, allocations: 1.594 kB / 3.002 GB, free: 138.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=107): time 0.006239/7.272, allocations: 2.399 MB / 3.005 GB, free: 137.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/7.272, allocations: 218.6 kB / 3.005 GB, free: 137.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006808/7.279, allocations: 2.307 MB / 3.007 GB, free: 137.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005856/7.28, allocations: 57.83 kB / 3.007 GB, free: 137.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/7.282, allocations: 1.191 MB / 3.008 GB, free: 136.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/7.282, allocations: 365.6 kB / 3.009 GB, free: 136.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/7.283, allocations: 30.12 kB / 3.009 GB, free: 136.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002068/7.283, allocations: 364 kB / 3.009 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/7.285, allocations: 0.7666 MB / 3.01 GB, free: 136.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/7.287, allocations: 1.185 MB / 3.011 GB, free: 136 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/7.289, allocations: 0.9174 MB / 3.012 GB, free: 135.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/7.289, allocations: 0 / 3.012 GB, free: 135.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006172/7.296, allocations: 2.286 MB / 3.014 GB, free: 135.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009392/7.297, allocations: 2.893 MB / 3.017 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/7.297, allocations: 13.8 kB / 3.017 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/7.297, allocations: 58.28 kB / 3.017 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/7.299, allocations: 376.8 kB / 3.017 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004335/7.299, allocations: 0.5994 MB / 3.018 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/7.303, allocations: 260.2 kB / 3.018 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/7.303, allocations: 73 kB / 3.018 GB, free: 132.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/7.303, allocations: 3.219 kB / 3.018 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005082/7.308, allocations: 2.056 MB / 3.02 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.941e-05/7.308, allocations: 7.156 kB / 3.02 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/7.309, allocations: 62.72 kB / 3.02 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/7.31, allocations: 386.6 kB / 3.021 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/7.312, allocations: 1.599 MB / 3.022 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/7.315, allocations: 246.3 kB / 3.023 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/7.316, allocations: 66.84 kB / 3.023 GB, free: 130.7 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.00253/7.318, allocations: 0.789 MB / 3.023 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/7.319, allocations: 267.7 kB / 3.024 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/7.325, allocations: 2.028 MB / 3.026 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/7.325, allocations: 13.7 kB / 3.026 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/7.325, allocations: 9.516 kB / 3.026 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003085/7.328, allocations: 1.711 MB / 3.027 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/7.341, allocations: 4.65 MB / 3.032 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/7.341, allocations: 0 / 3.032 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/7.342, allocations: 244 kB / 3.032 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/7.342, allocations: 43.23 kB / 3.032 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/7.343, allocations: 43.36 kB / 3.032 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003739/7.343, allocations: 0.5573 MB / 3.033 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/7.343, allocations: 3.938 kB / 3.033 GB, free: 125.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/7.349, allocations: 3.03 MB / 3.036 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/7.352, allocations: 0.6146 MB / 3.036 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/7.353, allocations: 34.28 kB / 3.036 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/7.356, allocations: 197 kB / 3.036 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/7.357, allocations: 76.38 kB / 3.037 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/7.357, allocations: 56.77 kB / 3.037 GB, free: 123.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005676/7.363, allocations: 1.778 MB / 3.038 GB, free: 123.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.51e-07/7.363, allocations: 3.562 kB / 3.038 GB, free: 123.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009949/7.373, allocations: 1.359 MB / 3.04 GB, free: 122.8 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.004548/7.377, allocations: 1.239 MB / 3.041 GB, free: 122.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009146/7.386, allocations: 3.101 MB / 3.044 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/7.386, allocations: 0 / 3.044 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/7.389, allocations: 0.8711 MB / 3.045 GB, free: 120.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009137/7.398, allocations: 1.236 MB / 3.046 GB, free: 120.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/7.416, allocations: 5.789 MB / 3.052 GB, free: 117.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/7.42, allocations: 1.831 MB / 3.053 GB, free: 116.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004949/7.425, allocations: 0.6666 MB / 3.054 GB, free: 116.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/7.426, allocations: 200 kB / 3.054 GB, free: 116.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.415e-06/7.426, allocations: 0 / 3.054 GB, free: 116.5 MB / 1.167 GB Notification: Performance of Templates: time 0.1062/7.532, allocations: 55.66 MB / 3.109 GB, free: 76.29 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (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 & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches