Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 183.1 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001011, allocations: 91.52 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 12.75 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2724, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.377, allocations: 451.3 MB / 1.341 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.377, allocations: 111.8 kB / 1.341 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.039/6.416, allocations: 1.235 GB / 2.576 GB, free: 88.02 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.236e-06/6.416, allocations: 1.5 kB / 2.576 GB, free: 88.02 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0008776/6.417, allocations: 82.58 kB / 2.576 GB, free: 88.01 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.01688/6.434, allocations: 3.498 MB / 2.579 GB, free: 86.38 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/6.434, allocations: 10.44 kB / 2.579 GB, free: 86.38 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004269/6.438, allocations: 0.5471 MB / 2.58 GB, free: 86.21 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/6.451, allocations: 3.388 MB / 2.583 GB, free: 85.64 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008892/6.452, allocations: 266.5 kB / 2.583 GB, free: 85.63 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/6.453, allocations: 185.1 kB / 2.583 GB, free: 85.63 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/6.461, allocations: 2.144 MB / 2.586 GB, free: 85.35 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/6.461, allocations: 2.344 kB / 2.586 GB, free: 85.35 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006403/6.462, allocations: 72.22 kB / 2.586 GB, free: 85.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.912e-05/6.462, allocations: 42.5 kB / 2.586 GB, free: 85.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/6.467, allocations: 1.909 MB / 2.588 GB, free: 85.32 MB / 0.9011 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.02262/6.49, allocations: 11.06 MB / 2.598 GB, free: 80.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/6.493, allocations: 1.899 MB / 2.6 GB, free: 79.79 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/6.494, allocations: 1.235 MB / 2.601 GB, free: 78.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/6.496, allocations: 0.813 MB / 2.602 GB, free: 78.38 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002141/6.498, allocations: 178.8 kB / 2.602 GB, free: 78.32 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 9.278e-06/6.498, allocations: 0 / 2.602 GB, free: 78.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.005986/6.504, allocations: 2.413 MB / 2.605 GB, free: 77.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/6.504, allocations: 306.2 kB / 2.605 GB, free: 77.55 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00663/6.511, allocations: 2.282 MB / 2.607 GB, free: 77.32 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005029/6.512, allocations: 51.64 kB / 2.607 GB, free: 77.29 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/6.514, allocations: 1.197 MB / 2.608 GB, free: 76.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/6.514, allocations: 375.3 kB / 2.609 GB, free: 76.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/6.514, allocations: 29.06 kB / 2.609 GB, free: 76.73 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001732/6.515, allocations: 362 kB / 2.609 GB, free: 76.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/6.517, allocations: 0.7835 MB / 2.61 GB, free: 76.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/6.519, allocations: 1.212 MB / 2.611 GB, free: 76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/6.521, allocations: 0.9352 MB / 2.612 GB, free: 75.95 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/6.521, allocations: 3.906 kB / 2.612 GB, free: 75.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005635/6.527, allocations: 2.316 MB / 2.614 GB, free: 75.71 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007435/6.527, allocations: 2.51 MB / 2.617 GB, free: 73.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/6.527, allocations: 9.719 kB / 2.617 GB, free: 73.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/6.528, allocations: 57.41 kB / 2.617 GB, free: 73.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/6.529, allocations: 371.4 kB / 2.617 GB, free: 73.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/6.53, allocations: 0.5979 MB / 2.618 GB, free: 72.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/6.533, allocations: 259.7 kB / 2.618 GB, free: 72.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/6.533, allocations: 74.89 kB / 2.618 GB, free: 72.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/6.533, allocations: 7.625 kB / 2.618 GB, free: 72.55 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004307/6.538, allocations: 2.068 MB / 2.62 GB, free: 72.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/6.538, allocations: 13 kB / 2.62 GB, free: 72.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/6.538, allocations: 62.58 kB / 2.62 GB, free: 72.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/6.54, allocations: 371.5 kB / 2.621 GB, free: 72.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/6.541, allocations: 1.578 MB / 2.622 GB, free: 71.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/6.544, allocations: 234.4 kB / 2.622 GB, free: 71.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/6.544, allocations: 76.77 kB / 2.622 GB, free: 71.12 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (171): * Single equations (assignments): 165 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * 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.002349/6.547, allocations: 0.7817 MB / 2.623 GB, free: 70.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/6.548, allocations: 267.4 kB / 2.623 GB, free: 70.75 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/6.553, allocations: 2.031 MB / 2.625 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/6.553, allocations: 16.75 kB / 2.625 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/6.553, allocations: 0 / 2.625 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002995/6.556, allocations: 1.725 MB / 2.627 GB, free: 70.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/6.568, allocations: 4.656 MB / 2.632 GB, free: 69.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/6.568, allocations: 3.812 kB / 2.632 GB, free: 69.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/6.569, allocations: 245.7 kB / 2.632 GB, free: 69.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/6.57, allocations: 45.97 kB / 2.632 GB, free: 69.62 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/6.57, allocations: 45.52 kB / 2.632 GB, free: 69.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004381/6.57, allocations: 0.5653 MB / 2.633 GB, free: 69.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/6.57, allocations: 6.438 kB / 2.633 GB, free: 69.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/6.577, allocations: 3.049 MB / 2.636 GB, free: 68.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/6.58, allocations: 0.5991 MB / 2.636 GB, free: 68.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/6.581, allocations: 29.75 kB / 2.636 GB, free: 68.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/6.583, allocations: 197.4 kB / 2.636 GB, free: 68.26 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/6.584, allocations: 79.58 kB / 2.636 GB, free: 68.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/6.584, allocations: 57.41 kB / 2.636 GB, free: 68.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004665/6.588, allocations: 1.77 MB / 2.638 GB, free: 68.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.8e-07/6.588, allocations: 0.5625 kB / 2.638 GB, free: 68.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006/6.594, allocations: 1.36 MB / 2.639 GB, free: 67.92 MB / 0.9011 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.x[1],WSE.heaExc.thrWayVal.filter.x[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 (121): * Single equations (assignments): 112 * 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.002776/6.597, allocations: 1.25 MB / 2.641 GB, free: 67.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006035/6.603, allocations: 3.194 MB / 2.644 GB, free: 66.98 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/6.603, allocations: 0 / 2.644 GB, free: 66.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/6.605, allocations: 0.8739 MB / 2.645 GB, free: 66.88 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007065/6.612, allocations: 1.267 MB / 2.646 GB, free: 66.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/6.622, allocations: 5.747 MB / 2.652 GB, free: 64.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/6.624, allocations: 1.841 MB / 2.653 GB, free: 63.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00354/6.627, allocations: 0.6601 MB / 2.654 GB, free: 63.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/6.628, allocations: 203.1 kB / 2.654 GB, free: 63.41 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/6.628, allocations: 0 / 2.654 GB, free: 63.41 MB / 0.9011 GB Notification: Performance of Templates: time 0.09829/6.726, allocations: 56.18 MB / 2.709 GB, free: 36.93 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches