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.178/2.178, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001072/0.001073, allocations: 188.8 kB / 492.3 MB, free: 0.6094 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.543/1.543, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.001242/0.001243, allocations: 94.02 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.091e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3382, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.489/1.827, allocations: 471.9 MB / 1.673 GB, free: 7.332 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004928/1.828, allocations: 101.9 kB / 1.673 GB, free: 7.277 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.969/7.797, allocations: 1.288 GB / 2.961 GB, free: 110.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.863e-06/7.797, allocations: 0 / 2.961 GB, free: 110.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007553/7.798, allocations: 82.2 kB / 2.962 GB, free: 110.3 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.01083/7.809, allocations: 2.922 MB / 2.964 GB, free: 107.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/7.809, allocations: 12.03 kB / 2.964 GB, free: 107.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/7.812, allocations: 0.5454 MB / 2.965 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/7.822, allocations: 3.322 MB / 2.968 GB, free: 103.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008277/7.823, allocations: 267.5 kB / 2.968 GB, free: 103.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009976/7.824, allocations: 187.9 kB / 2.969 GB, free: 103 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006302/7.831, allocations: 1.975 MB / 2.971 GB, free: 100.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/7.831, allocations: 4 kB / 2.971 GB, free: 100.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/7.831, allocations: 71.98 kB / 2.971 GB, free: 100.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/7.831, allocations: 58.97 kB / 2.971 GB, free: 100.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/7.835, allocations: 1.656 MB / 2.972 GB, free: 99.11 MB / 1.167 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.02067/7.856, allocations: 11.2 MB / 2.983 GB, free: 87.16 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/7.857, allocations: 1.434 MB / 2.985 GB, free: 85.65 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/7.858, allocations: 0.6343 MB / 2.985 GB, free: 85.01 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/7.859, allocations: 1.235 MB / 2.986 GB, free: 83.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/7.86, allocations: 0.7281 MB / 2.987 GB, free: 82.77 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001975/7.862, allocations: 185.6 kB / 2.987 GB, free: 82.59 MB / 1.167 GB Notification: Performance of pre-optimization done (n=107): time 5.591e-06/7.862, allocations: 0 / 2.987 GB, free: 82.59 MB / 1.167 GB Notification: Performance of matching and sorting (n=107): time 0.002692/7.865, allocations: 1.455 MB / 2.989 GB, free: 81.12 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/7.865, allocations: 222.6 kB / 2.989 GB, free: 80.85 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/7.869, allocations: 2.241 MB / 2.991 GB, free: 78.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002752/7.869, allocations: 61.7 kB / 2.991 GB, free: 78.53 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/7.87, allocations: 1.188 MB / 2.992 GB, free: 77.33 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/7.871, allocations: 370.6 kB / 2.993 GB, free: 76.96 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/7.871, allocations: 28 kB / 2.993 GB, free: 76.93 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001086/7.871, allocations: 361.9 kB / 2.993 GB, free: 76.57 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/7.872, allocations: 0.6443 MB / 2.994 GB, free: 75.93 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/7.873, allocations: 1.054 MB / 2.995 GB, free: 74.71 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/7.874, allocations: 0.7975 MB / 2.996 GB, free: 73.91 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/7.874, allocations: 0 / 2.996 GB, free: 73.91 MB / 1.167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003578/7.878, allocations: 2.04 MB / 2.998 GB, free: 71.86 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006594/7.878, allocations: 2.897 MB / 3 GB, free: 68.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/7.878, allocations: 11.98 kB / 3 GB, free: 68.74 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/7.878, allocations: 56.83 kB / 3 GB, free: 68.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/7.88, allocations: 383.4 kB / 3.001 GB, free: 68.31 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003761/7.88, allocations: 0.5874 MB / 3.001 GB, free: 67.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/7.883, allocations: 260.6 kB / 3.002 GB, free: 67.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/7.884, allocations: 71.97 kB / 3.002 GB, free: 67.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/7.884, allocations: 4 kB / 3.002 GB, free: 67.37 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002703/7.886, allocations: 1.802 MB / 3.003 GB, free: 65.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/7.886, allocations: 8 kB / 3.003 GB, free: 65.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/7.887, allocations: 60.66 kB / 3.004 GB, free: 65.49 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/7.888, allocations: 387.4 kB / 3.004 GB, free: 65.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/7.889, allocations: 1.589 MB / 3.005 GB, free: 63.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/7.892, allocations: 235.5 kB / 3.006 GB, free: 63.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/7.892, allocations: 83.53 kB / 3.006 GB, free: 63.08 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 () * 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.0005007/7.893, allocations: 228.4 kB / 3.006 GB, free: 62.84 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/7.893, allocations: 261.6 kB / 3.006 GB, free: 62.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/7.897, allocations: 1.856 MB / 3.008 GB, free: 60.74 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/7.897, allocations: 12 kB / 3.008 GB, free: 60.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/7.897, allocations: 0 / 3.008 GB, free: 60.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/7.899, allocations: 1.53 MB / 3.01 GB, free: 59.14 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/7.907, allocations: 4.602 MB / 3.014 GB, free: 54.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/7.907, allocations: 4 kB / 3.014 GB, free: 54.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/7.908, allocations: 243.9 kB / 3.014 GB, free: 54.15 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/7.909, allocations: 45.67 kB / 3.014 GB, free: 54.11 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/7.909, allocations: 35.98 kB / 3.014 GB, free: 54.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002877/7.909, allocations: 0.5641 MB / 3.015 GB, free: 53.48 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/7.909, allocations: 6.438 kB / 3.015 GB, free: 53.48 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004027/7.913, allocations: 2.845 MB / 3.018 GB, free: 50.48 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/7.915, allocations: 0.6145 MB / 3.018 GB, free: 49.84 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/7.916, allocations: 32 kB / 3.018 GB, free: 49.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/7.917, allocations: 195.7 kB / 3.019 GB, free: 49.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/7.917, allocations: 88.84 kB / 3.019 GB, free: 49.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/7.918, allocations: 47.97 kB / 3.019 GB, free: 49.49 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002982/7.921, allocations: 1.756 MB / 3.02 GB, free: 47.73 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/7.921, allocations: 0 / 3.02 GB, free: 47.73 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005995/7.927, allocations: 1.357 MB / 3.022 GB, free: 46.37 MB / 1.167 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.002469/7.929, allocations: 1.244 MB / 3.023 GB, free: 45.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004342/7.933, allocations: 2.852 MB / 3.026 GB, free: 42.31 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/7.934, allocations: 4 kB / 3.026 GB, free: 42.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/7.935, allocations: 0.7625 MB / 3.026 GB, free: 41.53 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007476/7.942, allocations: 1.282 MB / 3.028 GB, free: 40.32 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009114/7.951, allocations: 3.927 MB / 3.032 GB, free: 36.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/7.952, allocations: 1.848 MB / 3.033 GB, free: 34.46 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00445/7.957, allocations: 0.9052 MB / 3.034 GB, free: 33.63 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/7.957, allocations: 163.4 kB / 3.034 GB, free: 33.47 MB / 1.167 GB Notification: Performance of SimCode: time 1.323e-06/7.957, allocations: 0 / 3.034 GB, free: 33.47 MB / 1.167 GB Notification: Performance of Templates: time 0.1114/8.069, allocations: 62.97 MB / 3.096 GB, free: 3.277 MB / 1.198 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