Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001579/0.001579, allocations: 185 kB / 0.4902 GB, free: 2.297 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.754/1.754, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.0009883/0.0009884, allocations: 102.3 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 9.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4041, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.412/1.816, allocations: 472.7 MB / 1.691 GB, free: 6.523 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.816, allocations: 112.2 kB / 1.691 GB, free: 6.457 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.587/7.403, allocations: 1.287 GB / 2.978 GB, free: 156.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.585e-06/7.403, allocations: 0 / 2.978 GB, free: 156.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.000729/7.404, allocations: 78.75 kB / 2.978 GB, free: 156.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.01365/7.417, allocations: 3.348 MB / 2.981 GB, free: 154.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/7.417, allocations: 10.06 kB / 2.981 GB, free: 154.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/7.421, allocations: 0.5223 MB / 2.982 GB, free: 154.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/7.431, allocations: 3.215 MB / 2.985 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000865/7.432, allocations: 263.4 kB / 2.985 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009749/7.433, allocations: 173.8 kB / 2.985 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006858/7.44, allocations: 1.99 MB / 2.987 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.787e-05/7.44, allocations: 1.5 kB / 2.987 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004807/7.441, allocations: 69.59 kB / 2.987 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/7.441, allocations: 37.06 kB / 2.987 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/7.446, allocations: 1.821 MB / 2.989 GB, free: 153.9 MB / 1.182 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.01977/7.466, allocations: 10.85 MB / 3 GB, free: 149 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/7.468, allocations: 1.495 MB / 3.001 GB, free: 148.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/7.469, allocations: 1.231 MB / 3.002 GB, free: 147.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/7.471, allocations: 0.7591 MB / 3.003 GB, free: 147.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001897/7.473, allocations: 165.8 kB / 3.003 GB, free: 147.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=98): time 5.561e-06/7.473, allocations: 0 / 3.003 GB, free: 147.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=98): time 0.008013/7.481, allocations: 2.848 MB / 3.006 GB, free: 146.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/7.481, allocations: 138.7 kB / 3.006 GB, free: 146.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003946/7.485, allocations: 2.195 MB / 3.008 GB, free: 146.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003058/7.485, allocations: 53.17 kB / 3.008 GB, free: 146.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/7.486, allocations: 1.151 MB / 3.009 GB, free: 145.9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/7.487, allocations: 337.9 kB / 3.01 GB, free: 145.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/7.487, allocations: 22.88 kB / 3.01 GB, free: 145.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001095/7.487, allocations: 358.4 kB / 3.01 GB, free: 145.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/7.488, allocations: 0.6907 MB / 3.011 GB, free: 145.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/7.49, allocations: 1.069 MB / 3.012 GB, free: 145 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/7.491, allocations: 0.8141 MB / 3.013 GB, free: 144.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/7.491, allocations: 6.594 kB / 3.013 GB, free: 144.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004575/7.496, allocations: 2.154 MB / 3.015 GB, free: 144.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006486/7.497, allocations: 2.866 MB / 3.017 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/7.497, allocations: 10.44 kB / 3.017 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/7.498, allocations: 326.1 kB / 3.018 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/7.499, allocations: 305.7 kB / 3.018 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/7.5, allocations: 0.9469 MB / 3.019 GB, free: 141.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/7.503, allocations: 252.3 kB / 3.019 GB, free: 141.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/7.504, allocations: 68.61 kB / 3.019 GB, free: 141.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/7.504, allocations: 3.156 kB / 3.019 GB, free: 141.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003598/7.507, allocations: 1.858 MB / 3.021 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/7.507, allocations: 8.906 kB / 3.021 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/7.508, allocations: 60.27 kB / 3.021 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/7.509, allocations: 339.6 kB / 3.021 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/7.51, allocations: 1.59 MB / 3.023 GB, free: 139.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/7.513, allocations: 237.8 kB / 3.023 GB, free: 139.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/7.513, allocations: 70.75 kB / 3.023 GB, free: 139.8 MB / 1.182 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 (140): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.001857/7.515, allocations: 0.734 MB / 3.024 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006842/7.516, allocations: 254.1 kB / 3.024 GB, free: 139.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/7.52, allocations: 2.068 MB / 3.026 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/7.52, allocations: 16.86 kB / 3.026 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/7.52, allocations: 0 / 3.026 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00305/7.523, allocations: 1.769 MB / 3.028 GB, free: 138.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008864/7.532, allocations: 4.611 MB / 3.033 GB, free: 138 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/7.532, allocations: 2.75 kB / 3.033 GB, free: 138 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/7.533, allocations: 196.8 kB / 3.033 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/7.534, allocations: 303.6 kB / 3.033 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/7.534, allocations: 38.09 kB / 3.033 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009119/7.535, allocations: 0.9441 MB / 3.034 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/7.535, allocations: 6.5 kB / 3.034 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/7.54, allocations: 2.992 MB / 3.037 GB, free: 135.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/7.542, allocations: 0.5836 MB / 3.037 GB, free: 135.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/7.543, allocations: 28.58 kB / 3.038 GB, free: 135.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/7.544, allocations: 185.7 kB / 3.038 GB, free: 135.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/7.545, allocations: 79.17 kB / 3.038 GB, free: 135.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/7.545, allocations: 51.86 kB / 3.038 GB, free: 135.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002846/7.548, allocations: 1.701 MB / 3.039 GB, free: 134.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.81e-07/7.548, allocations: 0 / 3.039 GB, free: 134.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004452/7.552, allocations: 1.269 MB / 3.041 GB, free: 134.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.con.I.y,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 (93): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002272/7.554, allocations: 1.184 MB / 3.042 GB, free: 133.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005311/7.56, allocations: 2.788 MB / 3.045 GB, free: 132.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/7.56, allocations: 3.312 kB / 3.045 GB, free: 132.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/7.561, allocations: 0.8135 MB / 3.045 GB, free: 132.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007219/7.568, allocations: 1.203 MB / 3.047 GB, free: 132.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/7.582, allocations: 5.35 MB / 3.052 GB, free: 129.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/7.583, allocations: 1.756 MB / 3.053 GB, free: 128.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003269/7.586, allocations: 0.5803 MB / 3.054 GB, free: 128.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/7.587, allocations: 174.8 kB / 3.054 GB, free: 128.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.262e-06/7.587, allocations: 0 / 3.054 GB, free: 128.4 MB / 1.182 GB Notification: Performance of Templates: time 0.09336/7.68, allocations: 54.55 MB / 3.108 GB, free: 93.68 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches