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.ElectricChillerParallel.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.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiPar.chi.1..TSet|chiPar.chi.1..TEvaEnt|chiPar.chi.1..TEvaLvg|chiPar.chi.1..TConEnt|chiPar.chi.1..TConLvg|chiPar.chi.2..TSet|chiPar.chi.2..TEvaEnt|chiPar.chi.2..TEvaLvg|chiPar.chi.2..TConEnt|chiPar.chi.2..TConLvg|chiPar.chi.2..PLR1|chiPar.chi.2..PLR2|chiPar.chi.2..CR|chiPar.chi.1..COP|chiPar.chi.2..COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 178.6 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008855/0.0008857, allocations: 78.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 8.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.274, allocations: 439.3 MB / 1.329 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.274, allocations: 107.9 kB / 1.329 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.461/6.735, allocations: 1.314 GB / 2.643 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.23e-06/6.735, allocations: 2.625 kB / 2.643 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001404/6.736, allocations: 103.4 kB / 2.643 GB, free: 123.1 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.02146/6.758, allocations: 4.531 MB / 2.647 GB, free: 119 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/6.758, allocations: 8.031 kB / 2.647 GB, free: 119 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/6.772, allocations: 1.911 MB / 2.649 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0183/6.791, allocations: 5.405 MB / 2.654 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007267/6.792, allocations: 345.9 kB / 2.655 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/6.793, allocations: 232 kB / 2.655 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/6.808, allocations: 4.425 MB / 2.659 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/6.808, allocations: 11.84 kB / 2.659 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/6.809, allocations: 87.95 kB / 2.659 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.862e-05/6.81, allocations: 59.92 kB / 2.659 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/6.824, allocations: 5.59 MB / 2.665 GB, free: 100.9 MB / 0.9011 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.03545/6.86, allocations: 15.87 MB / 2.68 GB, free: 84.52 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/6.87, allocations: 4.267 MB / 2.685 GB, free: 80.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/6.872, allocations: 1.267 MB / 2.686 GB, free: 78.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005282/6.877, allocations: 2.347 MB / 2.688 GB, free: 76.32 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003822/6.881, allocations: 434 kB / 2.689 GB, free: 75.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 1.369e-05/6.881, allocations: 0 / 2.689 GB, free: 75.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.01584/6.897, allocations: 6.701 MB / 2.695 GB, free: 69.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/6.897, allocations: 226.9 kB / 2.695 GB, free: 68.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009402/6.906, allocations: 3.81 MB / 2.699 GB, free: 65.05 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009359/6.907, allocations: 65.7 kB / 2.699 GB, free: 64.98 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/6.91, allocations: 1.587 MB / 2.701 GB, free: 63.37 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/6.911, allocations: 0.5314 MB / 2.701 GB, free: 62.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/6.911, allocations: 40 kB / 2.701 GB, free: 62.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002391/6.911, allocations: 385.8 kB / 2.702 GB, free: 62.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/6.916, allocations: 2.174 MB / 2.704 GB, free: 60.23 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/6.921, allocations: 2.867 MB / 2.706 GB, free: 57.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004657/6.926, allocations: 2.262 MB / 2.709 GB, free: 54.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/6.926, allocations: 4 kB / 2.709 GB, free: 54.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01227/6.938, allocations: 5.236 MB / 2.714 GB, free: 49.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/6.939, allocations: 3.923 MB / 2.718 GB, free: 45.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/6.94, allocations: 11.98 kB / 2.718 GB, free: 45.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/6.94, allocations: 168.7 kB / 2.718 GB, free: 45.22 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/6.944, allocations: 0.7684 MB / 2.719 GB, free: 44.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/6.945, allocations: 1.374 MB / 2.72 GB, free: 43.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005615/6.951, allocations: 0.5732 MB / 2.72 GB, free: 42.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/6.951, allocations: 115.9 kB / 2.721 GB, free: 42.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/6.951, allocations: 4 kB / 2.721 GB, free: 42.34 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00988/6.961, allocations: 4.898 MB / 2.725 GB, free: 37.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/6.961, allocations: 12.03 kB / 2.725 GB, free: 37.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/6.962, allocations: 181.7 kB / 2.726 GB, free: 37.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/6.965, allocations: 0.7762 MB / 2.726 GB, free: 36.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/6.968, allocations: 3.702 MB / 2.73 GB, free: 32.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005288/6.974, allocations: 0.5732 MB / 2.73 GB, free: 31.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/6.974, allocations: 115.9 kB / 2.731 GB, free: 31.79 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chiPar.on[1],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.003464/6.978, allocations: 1.395 MB / 2.732 GB, free: 30.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/6.979, allocations: 359.5 kB / 2.732 GB, free: 30.03 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/6.99, allocations: 4.992 MB / 2.737 GB, free: 25.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/6.99, allocations: 23.98 kB / 2.737 GB, free: 25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/6.99, allocations: 4 kB / 2.737 GB, free: 24.99 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008041/6.998, allocations: 4.347 MB / 2.741 GB, free: 20.59 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.02142/7.02, allocations: 9.131 MB / 2.75 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/7.02, allocations: 4.031 kB / 2.75 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002841/7.023, allocations: 0.628 MB / 2.751 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/7.023, allocations: 157.5 kB / 2.751 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/7.024, allocations: 63 kB / 2.751 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/7.025, allocations: 1.315 MB / 2.752 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/7.025, allocations: 3.953 kB / 2.752 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/7.04, allocations: 7.853 MB / 2.76 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003824/7.044, allocations: 1.154 MB / 2.761 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/7.046, allocations: 39.98 kB / 2.761 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/7.05, allocations: 0.4914 MB / 2.762 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/7.051, allocations: 121.1 kB / 2.762 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003452/7.051, allocations: 91.36 kB / 2.762 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007752/7.059, allocations: 2.975 MB / 2.765 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.9e-07/7.059, allocations: 0 / 2.765 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01016/7.069, allocations: 1.939 MB / 2.767 GB, free: 10.29 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U,chiPar.filter[1].x[1],chiPar.filter[1].x[2],chiPar.filter[2].x[1],chiPar.filter[2].x[2]) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[1],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003085/7.072, allocations: 1.104 MB / 2.768 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01965/7.092, allocations: 7.834 MB / 2.776 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/7.092, allocations: 4 kB / 2.776 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.649/7.741, allocations: 2.299 MB / 2.778 GB, free: 145.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/7.753, allocations: 2.102 MB / 2.78 GB, free: 145.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/7.778, allocations: 9.632 MB / 2.789 GB, free: 142.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005083/7.783, allocations: 2.982 MB / 2.792 GB, free: 142 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.009031/7.792, allocations: 1.8 MB / 2.794 GB, free: 142 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/7.794, allocations: 296.3 kB / 2.794 GB, free: 142 MB / 0.9167 GB Notification: Performance of SimCode: time 1.542e-06/7.794, allocations: 0 / 2.794 GB, free: 142 MB / 0.9167 GB Notification: Performance of Templates: time 0.1498/7.944, allocations: 87.07 MB / 2.879 GB, free: 138.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricChillerParallel.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches