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.188/2.188, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001034/0.001034, allocations: 188.7 kB / 487.4 MB, free: 5.047 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.505/1.505, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009145, allocations: 95.89 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.468e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3312, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.391/1.722, allocations: 471.3 MB / 1.666 GB, free: 15.98 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.722, allocations: 100.7 kB / 1.666 GB, free: 15.93 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.655/7.378, allocations: 1.282 GB / 2.949 GB, free: 102.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.697e-06/7.378, allocations: 0 / 2.949 GB, free: 102.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005929/7.378, allocations: 82.17 kB / 2.949 GB, free: 102.2 MB / 1.151 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.01052/7.389, allocations: 2.914 MB / 2.952 GB, free: 99.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/7.389, allocations: 8.031 kB / 2.952 GB, free: 99.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/7.393, allocations: 0.5482 MB / 2.952 GB, free: 98.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/7.404, allocations: 3.324 MB / 2.955 GB, free: 95.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007287/7.404, allocations: 206.9 kB / 2.956 GB, free: 95.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005782/7.405, allocations: 107.9 kB / 2.956 GB, free: 95.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003793/7.409, allocations: 1.584 MB / 2.957 GB, free: 93.48 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/7.412, allocations: 1.751 MB / 2.959 GB, free: 91.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/7.412, allocations: 0 / 2.959 GB, free: 91.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/7.413, allocations: 4 kB / 2.959 GB, free: 91.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/7.413, allocations: 54.98 kB / 2.959 GB, free: 91.59 MB / 1.151 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.02098/7.434, allocations: 10.86 MB / 2.97 GB, free: 80.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/7.435, allocations: 1.416 MB / 2.971 GB, free: 78.59 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007974/7.436, allocations: 0.6149 MB / 2.972 GB, free: 77.97 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/7.437, allocations: 1.235 MB / 2.973 GB, free: 76.48 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/7.438, allocations: 0.7022 MB / 2.973 GB, free: 75.77 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00208/7.441, allocations: 135.7 kB / 2.974 GB, free: 75.63 MB / 1.151 GB Notification: Performance of pre-optimization done (n=107): time 9.528e-06/7.441, allocations: 7.844 kB / 2.974 GB, free: 75.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=107): time 0.003528/7.444, allocations: 1.486 MB / 2.975 GB, free: 74.14 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/7.444, allocations: 222.9 kB / 2.975 GB, free: 73.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/7.447, allocations: 1.954 MB / 2.977 GB, free: 71.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/7.448, allocations: 29.7 kB / 2.977 GB, free: 71.87 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/7.449, allocations: 1.182 MB / 2.978 GB, free: 70.67 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/7.449, allocations: 354.7 kB / 2.979 GB, free: 70.32 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/7.449, allocations: 4.047 kB / 2.979 GB, free: 70.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001216/7.449, allocations: 369.8 kB / 2.979 GB, free: 69.95 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/7.45, allocations: 0.6248 MB / 2.98 GB, free: 69.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/7.451, allocations: 1.031 MB / 2.981 GB, free: 68.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/7.453, allocations: 0.8365 MB / 2.981 GB, free: 67.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/7.453, allocations: 3.953 kB / 2.981 GB, free: 67.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003861/7.457, allocations: 2.009 MB / 2.983 GB, free: 65.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008706/7.458, allocations: 2.862 MB / 2.986 GB, free: 62.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/7.458, allocations: 8 kB / 2.986 GB, free: 62.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/7.458, allocations: 56.8 kB / 2.986 GB, free: 62.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/7.46, allocations: 383.5 kB / 2.987 GB, free: 61.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004243/7.46, allocations: 0.6031 MB / 2.987 GB, free: 61.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/7.463, allocations: 223.6 kB / 2.987 GB, free: 60.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/7.463, allocations: 71.97 kB / 2.988 GB, free: 60.82 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/7.463, allocations: 5.312 kB / 2.988 GB, free: 60.81 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/7.466, allocations: 1.714 MB / 2.989 GB, free: 59.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/7.466, allocations: 11.94 kB / 2.989 GB, free: 59.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/7.467, allocations: 61.39 kB / 2.989 GB, free: 59.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/7.468, allocations: 375.5 kB / 2.99 GB, free: 58.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/7.469, allocations: 1.525 MB / 2.991 GB, free: 57.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/7.472, allocations: 207.1 kB / 2.991 GB, free: 56.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/7.472, allocations: 67.97 kB / 2.991 GB, free: 56.75 MB / 1.151 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.0004904/7.473, allocations: 181.4 kB / 2.992 GB, free: 56.56 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/7.473, allocations: 252.4 kB / 2.992 GB, free: 56.31 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/7.477, allocations: 1.752 MB / 2.993 GB, free: 54.56 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/7.477, allocations: 15.98 kB / 2.994 GB, free: 54.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/7.477, allocations: 0 / 2.994 GB, free: 54.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/7.479, allocations: 1.482 MB / 2.995 GB, free: 53.02 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/7.487, allocations: 4.308 MB / 2.999 GB, free: 48.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/7.487, allocations: 4 kB / 2.999 GB, free: 48.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/7.488, allocations: 239.9 kB / 2.999 GB, free: 48.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/7.488, allocations: 36.86 kB / 2.999 GB, free: 48.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/7.489, allocations: 31.92 kB / 2.999 GB, free: 48.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003141/7.489, allocations: 0.5641 MB / 3 GB, free: 47.72 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/7.489, allocations: 4 kB / 3 GB, free: 47.72 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/7.493, allocations: 2.724 MB / 3.003 GB, free: 44.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/7.495, allocations: 0.599 MB / 3.003 GB, free: 44.28 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/7.495, allocations: 15.95 kB / 3.003 GB, free: 44.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/7.496, allocations: 171.7 kB / 3.003 GB, free: 44.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/7.497, allocations: 81.2 kB / 3.004 GB, free: 44.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/7.497, allocations: 51.97 kB / 3.004 GB, free: 43.97 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002592/7.499, allocations: 1.468 MB / 3.005 GB, free: 42.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.499, allocations: 0 / 3.005 GB, free: 42.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005395/7.505, allocations: 1.302 MB / 3.006 GB, free: 41.19 MB / 1.151 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.002658/7.507, allocations: 1.255 MB / 3.007 GB, free: 40 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004217/7.512, allocations: 2.732 MB / 3.01 GB, free: 37.22 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/7.512, allocations: 4 kB / 3.01 GB, free: 37.22 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/7.513, allocations: 0.7439 MB / 3.011 GB, free: 36.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006301/7.519, allocations: 1.099 MB / 3.012 GB, free: 35.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0087/7.528, allocations: 3.803 MB / 3.016 GB, free: 31.57 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/7.529, allocations: 1.847 MB / 3.017 GB, free: 29.69 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0042/7.533, allocations: 0.8725 MB / 3.018 GB, free: 28.89 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/7.534, allocations: 151.4 kB / 3.018 GB, free: 28.74 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/7.534, allocations: 0 / 3.018 GB, free: 28.74 MB / 1.151 GB Notification: Performance of Templates: time 0.09954/7.633, allocations: 50.59 MB / 3.068 GB, free: 10.93 MB / 1.182 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