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.519/2.519, allocations: 390.5 MB / 398 MB, free: 10.97 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.001422/0.001422, allocations: 172.9 kB / 491.2 MB, free: 1.605 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.941/1.941, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009237/0.000924, allocations: 99.89 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.831e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3394, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.887, allocations: 472 MB / 1.673 GB, free: 7.73 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/1.887, allocations: 103.7 kB / 1.673 GB, free: 7.672 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.602/7.49, allocations: 1.277 GB / 2.951 GB, free: 121.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.114e-06/7.49, allocations: 1.75 kB / 2.951 GB, free: 121.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004573/7.49, allocations: 72.86 kB / 2.951 GB, free: 121.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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.008326/7.499, allocations: 2.79 MB / 2.953 GB, free: 118.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/7.499, allocations: 8.031 kB / 2.953 GB, free: 118.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/7.502, allocations: 0.5305 MB / 2.954 GB, free: 118 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/7.509, allocations: 3.186 MB / 2.957 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006906/7.51, allocations: 193.4 kB / 2.957 GB, free: 114.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/7.51, allocations: 100 kB / 2.957 GB, free: 114.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002655/7.512, allocations: 1.513 MB / 2.959 GB, free: 113 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/7.515, allocations: 1.629 MB / 2.96 GB, free: 111.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/7.515, allocations: 4 kB / 2.96 GB, free: 111.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/7.515, allocations: 0 / 2.96 GB, free: 111.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/7.515, allocations: 40 kB / 2.96 GB, free: 111.3 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.01468/7.53, allocations: 10.53 MB / 2.971 GB, free: 100.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/7.531, allocations: 1.277 MB / 2.972 GB, free: 98.78 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/7.532, allocations: 0.5742 MB / 2.972 GB, free: 98.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/7.533, allocations: 1.232 MB / 2.974 GB, free: 96.71 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008982/7.534, allocations: 0.6302 MB / 2.974 GB, free: 96.07 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001442/7.535, allocations: 125.2 kB / 2.974 GB, free: 95.95 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 5.45e-06/7.535, allocations: 0 / 2.974 GB, free: 95.95 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.002853/7.538, allocations: 1.365 MB / 2.976 GB, free: 94.57 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/7.538, allocations: 141.3 kB / 2.976 GB, free: 94.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/7.541, allocations: 1.863 MB / 2.978 GB, free: 92.53 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/7.541, allocations: 29.7 kB / 2.978 GB, free: 92.49 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/7.542, allocations: 1.145 MB / 2.979 GB, free: 91.34 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/7.542, allocations: 315.3 kB / 2.979 GB, free: 91.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/7.542, allocations: 0 / 2.979 GB, free: 91.02 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001147/7.543, allocations: 357.9 kB / 2.979 GB, free: 90.67 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/7.543, allocations: 0.5493 MB / 2.98 GB, free: 90.12 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/7.544, allocations: 0.9252 MB / 2.981 GB, free: 89.05 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/7.546, allocations: 0.7497 MB / 2.982 GB, free: 88.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/7.546, allocations: 3.984 kB / 2.982 GB, free: 88.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003145/7.549, allocations: 1.819 MB / 2.983 GB, free: 86.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007359/7.55, allocations: 2.833 MB / 2.986 GB, free: 83.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/7.55, allocations: 11.95 kB / 2.986 GB, free: 83.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/7.55, allocations: 56.84 kB / 2.986 GB, free: 83.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/7.551, allocations: 335.5 kB / 2.987 GB, free: 82.98 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003745/7.552, allocations: 0.6148 MB / 2.987 GB, free: 82.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/7.554, allocations: 206.8 kB / 2.987 GB, free: 82.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/7.554, allocations: 71.95 kB / 2.987 GB, free: 82.07 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/7.554, allocations: 8.938 kB / 2.987 GB, free: 82.06 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002758/7.557, allocations: 1.546 MB / 2.989 GB, free: 80.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/7.557, allocations: 8 kB / 2.989 GB, free: 80.51 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/7.557, allocations: 56.77 kB / 2.989 GB, free: 80.45 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/7.559, allocations: 339.6 kB / 2.989 GB, free: 80.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/7.56, allocations: 1.51 MB / 2.991 GB, free: 78.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/7.562, allocations: 195.7 kB / 2.991 GB, free: 78.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/7.562, allocations: 71.95 kB / 2.991 GB, free: 78.23 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 (154): * Single equations (assignments): 152 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000407/7.563, allocations: 177.1 kB / 2.991 GB, free: 78.05 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/7.563, allocations: 237 kB / 2.991 GB, free: 77.82 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/7.567, allocations: 1.641 MB / 2.993 GB, free: 76.18 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/7.567, allocations: 15.98 kB / 2.993 GB, free: 76.17 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/7.567, allocations: 7.953 kB / 2.993 GB, free: 76.16 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/7.569, allocations: 1.382 MB / 2.994 GB, free: 74.73 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008497/7.577, allocations: 4.051 MB / 2.998 GB, free: 70.59 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/7.577, allocations: 4 kB / 2.998 GB, free: 70.58 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/7.578, allocations: 224.9 kB / 2.999 GB, free: 70.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/7.578, allocations: 32.86 kB / 2.999 GB, free: 70.33 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/7.579, allocations: 23.97 kB / 2.999 GB, free: 70.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000353/7.579, allocations: 0.5602 MB / 2.999 GB, free: 69.72 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/7.579, allocations: 8.062 kB / 2.999 GB, free: 69.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/7.583, allocations: 2.532 MB / 3.002 GB, free: 67.08 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/7.585, allocations: 0.5603 MB / 3.002 GB, free: 66.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008993/7.586, allocations: 7.984 kB / 3.002 GB, free: 66.49 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/7.589, allocations: 167.7 kB / 3.002 GB, free: 66.33 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/7.589, allocations: 81.14 kB / 3.002 GB, free: 66.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/7.589, allocations: 47.97 kB / 3.003 GB, free: 66.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004419/7.594, allocations: 1.396 MB / 3.004 GB, free: 64.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.042e-06/7.594, allocations: 7.938 kB / 3.004 GB, free: 64.79 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00757/7.601, allocations: 1.228 MB / 3.005 GB, free: 63.56 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 100 * 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.003078/7.604, allocations: 1.183 MB / 3.006 GB, free: 62.52 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005372/7.61, allocations: 2.425 MB / 3.009 GB, free: 60.06 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/7.61, allocations: 0 / 3.009 GB, free: 60.06 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/7.611, allocations: 0.6884 MB / 3.009 GB, free: 59.36 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/7.618, allocations: 1.052 MB / 3.01 GB, free: 58.38 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/7.629, allocations: 3.473 MB / 3.014 GB, free: 54.84 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/7.631, allocations: 1.769 MB / 3.015 GB, free: 53.04 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005184/7.637, allocations: 0.756 MB / 3.016 GB, free: 52.35 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/7.637, allocations: 143.3 kB / 3.016 GB, free: 52.21 MB / 1.167 GB Notification: Performance of SimCode: time 1.213e-06/7.637, allocations: 0 / 3.016 GB, free: 52.21 MB / 1.167 GB Notification: Performance of Templates: time 0.0805/7.718, allocations: 47.75 MB / 3.063 GB, free: 5.43 MB / 1.167 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