Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.BaseClasses.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_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.BaseClasses.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_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001472/0.001472, allocations: 188.6 kB / 487.4 MB, free: 5.055 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.567/1.567, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009697, allocations: 99.02 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.711e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.475, allocations: 458.5 MB / 1.654 GB, free: 12.6 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004369/1.476, allocations: 92.58 kB / 1.654 GB, free: 12.55 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.267/6.743, allocations: 1.366 GB / 3.02 GB, free: 38.72 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.935e-06/6.743, allocations: 4 kB / 3.02 GB, free: 38.72 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009928/6.744, allocations: 107.8 kB / 3.02 GB, free: 38.61 MB / 1.151 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.0151/6.759, allocations: 3.633 MB / 3.024 GB, free: 34.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/6.759, allocations: 8.031 kB / 3.024 GB, free: 34.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/6.772, allocations: 1.911 MB / 3.026 GB, free: 32.99 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/6.787, allocations: 5.422 MB / 3.031 GB, free: 27.51 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/6.788, allocations: 250.7 kB / 3.031 GB, free: 27.24 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/6.789, allocations: 139.9 kB / 3.031 GB, free: 27.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006825/6.796, allocations: 4.251 MB / 3.035 GB, free: 22.85 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005556/6.802, allocations: 3.371 MB / 3.039 GB, free: 19.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.649e-05/6.802, allocations: 0 / 3.039 GB, free: 19.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/6.802, allocations: 8 kB / 3.039 GB, free: 19.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-05/6.802, allocations: 59.94 kB / 3.039 GB, free: 19.33 MB / 1.151 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.02921/6.831, allocations: 15.49 MB / 3.054 GB, free: 3.219 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007735/6.839, allocations: 3.537 MB / 3.057 GB, free: 15.66 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/6.842, allocations: 1.702 MB / 3.059 GB, free: 13.95 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/6.843, allocations: 1.263 MB / 3.06 GB, free: 12.41 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002968/6.846, allocations: 1.755 MB / 3.062 GB, free: 10.64 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003671/6.85, allocations: 362.4 kB / 3.062 GB, free: 10.29 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 8.636e-06/6.85, allocations: 0 / 3.062 GB, free: 10.29 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.008365/6.858, allocations: 3.371 MB / 3.066 GB, free: 6.895 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/6.858, allocations: 230.9 kB / 3.066 GB, free: 6.621 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009625/6.868, allocations: 3.38 MB / 3.069 GB, free: 3.258 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/6.869, allocations: 29.7 kB / 3.069 GB, free: 3.223 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/6.872, allocations: 1.607 MB / 3.071 GB, free: 1.59 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/6.873, allocations: 0.5119 MB / 3.071 GB, free: 1.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/6.873, allocations: 4 kB / 3.071 GB, free: 1.066 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002264/6.874, allocations: 385.8 kB / 3.072 GB, free: 0.6836 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047/7.921, allocations: 1.588 MB / 3.073 GB, free: 184.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005115/7.926, allocations: 2.233 MB / 3.075 GB, free: 183.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/7.931, allocations: 1.735 MB / 3.077 GB, free: 183.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/7.931, allocations: 4.594 kB / 3.077 GB, free: 183.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.0107/7.942, allocations: 4.051 MB / 3.081 GB, free: 183.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/7.943, allocations: 3.872 MB / 3.085 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/7.943, allocations: 14.09 kB / 3.085 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/7.944, allocations: 164.2 kB / 3.085 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/7.948, allocations: 0.7712 MB / 3.086 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/7.949, allocations: 1.444 MB / 3.087 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00561/7.955, allocations: 0.519 MB / 3.088 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000494/7.955, allocations: 115.6 kB / 3.088 GB, free: 178.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/7.955, allocations: 4.5 kB / 3.088 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007856/7.963, allocations: 3.612 MB / 3.091 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.044e-05/7.963, allocations: 13.69 kB / 3.091 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/7.964, allocations: 186.1 kB / 3.091 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/7.968, allocations: 0.768 MB / 3.092 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/7.971, allocations: 3.527 MB / 3.096 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005174/7.976, allocations: 0.5068 MB / 3.096 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/7.977, allocations: 113.1 kB / 3.096 GB, free: 175.7 MB / 1.167 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 () * 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.001185/7.978, allocations: 158.2 kB / 3.096 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/7.98, allocations: 341.8 kB / 3.097 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/7.988, allocations: 3.766 MB / 3.1 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/7.988, allocations: 19.48 kB / 3.1 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/7.988, allocations: 4.766 kB / 3.1 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005147/7.994, allocations: 3.184 MB / 3.103 GB, free: 175 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 postOpt removeSimpleEquations (simulation): time 0.02108/8.015, allocations: 7.714 MB / 3.111 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/8.015, allocations: 2.531 kB / 3.111 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/8.018, allocations: 0.6276 MB / 3.112 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/8.019, allocations: 133.9 kB / 3.112 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004037/8.019, allocations: 40.78 kB / 3.112 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/8.021, allocations: 1.313 MB / 3.113 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/8.021, allocations: 1.781 kB / 3.113 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/8.035, allocations: 6.075 MB / 3.119 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004409/8.039, allocations: 1.135 MB / 3.12 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001914/8.041, allocations: 18.62 kB / 3.12 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005619/8.047, allocations: 495.4 kB / 3.121 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/8.047, allocations: 115 kB / 3.121 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/8.048, allocations: 92.92 kB / 3.121 GB, free: 172.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.009677/8.057, allocations: 2.593 MB / 3.123 GB, free: 172.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.11e-07/8.057, allocations: 0 / 3.123 GB, free: 172.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01611/8.073, allocations: 1.89 MB / 3.125 GB, free: 172 MB / 1.167 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) * 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.004576/8.078, allocations: 1.082 MB / 3.126 GB, free: 171.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01637/8.094, allocations: 6.092 MB / 3.132 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.032e-05/8.095, allocations: 2.719 kB / 3.132 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004319/8.099, allocations: 1.699 MB / 3.134 GB, free: 171.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01417/8.113, allocations: 1.835 MB / 3.136 GB, free: 171.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/8.136, allocations: 6.749 MB / 3.142 GB, free: 170.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006722/8.143, allocations: 2.988 MB / 3.145 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01485/8.158, allocations: 2.931 MB / 3.148 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/8.16, allocations: 226.2 kB / 3.148 GB, free: 169.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.223e-06/8.16, allocations: 2.5 kB / 3.148 GB, free: 169.2 MB / 1.167 GB Notification: Performance of Templates: time 0.1588/8.319, allocations: 76.78 MB / 3.223 GB, free: 166.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches