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.472/1.472, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 182.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001221/0.001221, allocations: 82.5 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.404e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2843, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.987/2.272, allocations: 451.3 MB / 1.332 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/2.272, allocations: 107 kB / 1.333 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.287/6.559, allocations: 1.231 GB / 2.564 GB, free: 38.94 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/6.559, allocations: 0 / 2.564 GB, free: 38.94 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003829/6.56, allocations: 83.91 kB / 2.564 GB, free: 38.86 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.007079/6.567, allocations: 2.925 MB / 2.566 GB, free: 35.87 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/6.567, allocations: 12.03 kB / 2.566 GB, free: 35.86 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/6.569, allocations: 0.5412 MB / 2.567 GB, free: 35.31 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006426/6.576, allocations: 3.355 MB / 2.57 GB, free: 31.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006531/6.576, allocations: 268.9 kB / 2.571 GB, free: 31.64 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/6.577, allocations: 184 kB / 2.571 GB, free: 31.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/6.58, allocations: 2.006 MB / 2.573 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/6.58, allocations: 4 kB / 2.573 GB, free: 29.35 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/6.58, allocations: 67.95 kB / 2.573 GB, free: 29.29 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/6.58, allocations: 43.94 kB / 2.573 GB, free: 29.24 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/6.583, allocations: 1.648 MB / 2.574 GB, free: 27.59 MB / 0.9011 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.01422/6.597, allocations: 11.07 MB / 2.585 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/6.599, allocations: 1.695 MB / 2.587 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/6.6, allocations: 0.6635 MB / 2.588 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/6.601, allocations: 1.235 MB / 2.589 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/6.602, allocations: 0.7708 MB / 2.589 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001511/6.603, allocations: 190.7 kB / 2.59 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 3.967e-06/6.603, allocations: 0 / 2.59 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.002697/6.606, allocations: 1.474 MB / 2.591 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/6.606, allocations: 329.4 kB / 2.591 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/6.609, allocations: 2.217 MB / 2.594 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/6.609, allocations: 57.7 kB / 2.594 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/6.61, allocations: 1.195 MB / 2.595 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/6.611, allocations: 378.5 kB / 2.595 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/6.611, allocations: 24 kB / 2.595 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001398/6.611, allocations: 365.9 kB / 2.596 GB, free: 4.656 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009539/6.612, allocations: 0.6521 MB / 2.596 GB, free: 4.004 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/6.613, allocations: 1.085 MB / 2.597 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/6.614, allocations: 0.8097 MB / 2.598 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/6.614, allocations: 4 kB / 2.598 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003191/6.617, allocations: 2.058 MB / 2.6 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/6.619, allocations: 2.512 MB / 2.602 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/6.619, allocations: 8.109 kB / 2.602 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/6.619, allocations: 64.69 kB / 2.603 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/6.621, allocations: 375.4 kB / 2.603 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004803/6.621, allocations: 0.5952 MB / 2.603 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/6.624, allocations: 259.5 kB / 2.604 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/6.624, allocations: 75.95 kB / 2.604 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/6.624, allocations: 6.031 kB / 2.604 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003244/6.627, allocations: 1.818 MB / 2.606 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/6.627, allocations: 11.98 kB / 2.606 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/6.627, allocations: 56.78 kB / 2.606 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/6.629, allocations: 367.6 kB / 2.606 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/6.63, allocations: 1.565 MB / 2.608 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/6.633, allocations: 235.5 kB / 2.608 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/6.633, allocations: 79.95 kB / 2.608 GB, free: 7.504 MB / 0.9167 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 () * 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.0004857/6.634, allocations: 238.2 kB / 2.608 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/6.634, allocations: 264.6 kB / 2.608 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/6.638, allocations: 1.823 MB / 2.61 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/6.639, allocations: 15.94 kB / 2.61 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/6.639, allocations: 4 kB / 2.61 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0024/6.641, allocations: 1.524 MB / 2.612 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7732/7.414, allocations: 4.715 MB / 2.616 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/7.414, allocations: 2.969 kB / 2.616 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/7.415, allocations: 245.9 kB / 2.616 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/7.416, allocations: 45.19 kB / 2.616 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/7.416, allocations: 43.34 kB / 2.617 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004133/7.416, allocations: 0.5676 MB / 2.617 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/7.416, allocations: 5.5 kB / 2.617 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/7.422, allocations: 2.947 MB / 2.62 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/7.424, allocations: 0.6081 MB / 2.621 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/7.425, allocations: 36.78 kB / 2.621 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/7.426, allocations: 204.2 kB / 2.621 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/7.427, allocations: 86.3 kB / 2.621 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/7.427, allocations: 53.98 kB / 2.621 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0042/7.431, allocations: 1.74 MB / 2.623 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.9e-07/7.431, allocations: 6.828 kB / 2.623 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007414/7.438, allocations: 1.35 MB / 2.624 GB, free: 100.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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) * 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.004377/7.443, allocations: 1.229 MB / 2.625 GB, free: 100 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00708/7.45, allocations: 2.94 MB / 2.628 GB, free: 99.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/7.45, allocations: 2.281 kB / 2.628 GB, free: 99.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/7.451, allocations: 0.7789 MB / 2.629 GB, free: 99.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007933/7.459, allocations: 1.316 MB / 2.63 GB, free: 99.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/7.471, allocations: 3.905 MB / 2.634 GB, free: 98.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/7.474, allocations: 1.843 MB / 2.636 GB, free: 97.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005311/7.479, allocations: 0.9142 MB / 2.637 GB, free: 97.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/7.479, allocations: 160.2 kB / 2.637 GB, free: 97.71 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/7.479, allocations: 0 / 2.637 GB, free: 97.71 MB / 0.9167 GB Notification: Performance of Templates: time 0.1174/7.597, allocations: 63.56 MB / 2.699 GB, free: 95.13 MB / 0.9167 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