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.343/2.343, allocations: 390.3 MB / 405.3 MB, free: 13.27 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.001235/0.001234, allocations: 182.7 kB / 498.1 MB, free: 5.488 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.62/1.62, allocations: 223.2 MB / 0.7948 GB, free: 17.79 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.001027/0.001027, allocations: 105.4 kB / 0.9346 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 10.88 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4114, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.395/1.806, allocations: 459.2 MB / 1.671 GB, free: 2.004 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003985/1.807, allocations: 98.92 kB / 1.671 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.528/7.334, allocations: 1.376 GB / 3.047 GB, free: 153.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.755e-06/7.335, allocations: 0 / 3.047 GB, free: 153.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001007/7.336, allocations: 107.8 kB / 3.048 GB, free: 153.8 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01933/7.355, allocations: 4.57 MB / 3.052 GB, free: 149.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/7.355, allocations: 8.031 kB / 3.052 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/7.368, allocations: 1.912 MB / 3.054 GB, free: 147.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01697/7.385, allocations: 5.496 MB / 3.059 GB, free: 141.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005032/7.386, allocations: 339.3 kB / 3.06 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/7.387, allocations: 235.7 kB / 3.06 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/7.397, allocations: 4.466 MB / 3.064 GB, free: 136.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/7.397, allocations: 0 / 3.064 GB, free: 136.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/7.398, allocations: 84 kB / 3.064 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/7.398, allocations: 59.98 kB / 3.064 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/7.41, allocations: 5.603 MB / 3.07 GB, free: 131 MB / 1.167 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.03655/7.447, allocations: 15.91 MB / 3.085 GB, free: 114.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/7.459, allocations: 4.29 MB / 3.09 GB, free: 110.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/7.46, allocations: 1.26 MB / 3.091 GB, free: 108.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005036/7.465, allocations: 2.378 MB / 3.093 GB, free: 106.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003436/7.469, allocations: 429.8 kB / 3.093 GB, free: 105.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 1.017e-05/7.469, allocations: 0 / 3.093 GB, free: 105.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.01488/7.483, allocations: 6.725 MB / 3.1 GB, free: 99.04 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/7.484, allocations: 226.9 kB / 3.1 GB, free: 98.77 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007139/7.491, allocations: 3.843 MB / 3.104 GB, free: 94.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/7.492, allocations: 65.7 kB / 3.104 GB, free: 94.83 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/7.494, allocations: 1.58 MB / 3.106 GB, free: 93.23 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/7.495, allocations: 0.5314 MB / 3.106 GB, free: 92.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/7.495, allocations: 44 kB / 3.106 GB, free: 92.65 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001373/7.495, allocations: 381.9 kB / 3.107 GB, free: 92.27 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004153/7.499, allocations: 2.185 MB / 3.109 GB, free: 90.09 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/7.504, allocations: 2.851 MB / 3.111 GB, free: 86.99 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/7.509, allocations: 2.262 MB / 3.114 GB, free: 84.73 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/7.509, allocations: 4 kB / 3.114 GB, free: 84.72 MB / 1.167 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01103/7.52, allocations: 5.235 MB / 3.119 GB, free: 79.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001026/7.521, allocations: 3.916 MB / 3.123 GB, free: 75.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/7.521, allocations: 19.98 kB / 3.123 GB, free: 75.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/7.521, allocations: 165.5 kB / 3.123 GB, free: 75.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/7.525, allocations: 0.7761 MB / 3.124 GB, free: 74.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/7.526, allocations: 1.366 MB / 3.125 GB, free: 72.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005769/7.532, allocations: 0.5732 MB / 3.125 GB, free: 72.33 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005369/7.532, allocations: 115.9 kB / 3.126 GB, free: 72.21 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/7.532, allocations: 5.094 kB / 3.126 GB, free: 72.21 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00968/7.542, allocations: 4.905 MB / 3.13 GB, free: 67.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.623e-05/7.542, allocations: 15.98 kB / 3.13 GB, free: 67.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/7.543, allocations: 185.7 kB / 3.131 GB, free: 67.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/7.546, allocations: 0.7684 MB / 3.131 GB, free: 66.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/7.549, allocations: 3.711 MB / 3.135 GB, free: 62.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/7.555, allocations: 0.5693 MB / 3.135 GB, free: 61.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/7.557, allocations: 120 kB / 3.136 GB, free: 61.65 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 () * 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.003961/7.56, allocations: 1.404 MB / 3.137 GB, free: 60.24 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/7.562, allocations: 363.5 kB / 3.137 GB, free: 59.88 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/7.573, allocations: 5.01 MB / 3.142 GB, free: 54.85 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/7.573, allocations: 19.98 kB / 3.142 GB, free: 54.83 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/7.573, allocations: 4 kB / 3.142 GB, free: 54.83 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007957/7.581, allocations: 4.371 MB / 3.146 GB, free: 50.4 MB / 1.167 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.02029/7.601, allocations: 9.196 MB / 3.155 GB, free: 41.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/7.601, allocations: 3.938 kB / 3.155 GB, free: 41.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/7.604, allocations: 0.6243 MB / 3.156 GB, free: 40.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/7.604, allocations: 165.1 kB / 3.156 GB, free: 40.31 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/7.604, allocations: 55.95 kB / 3.156 GB, free: 40.26 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007444/7.605, allocations: 1.304 MB / 3.158 GB, free: 38.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.605, allocations: 0 / 3.158 GB, free: 38.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/7.619, allocations: 7.886 MB / 3.165 GB, free: 30.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004128/7.623, allocations: 1.162 MB / 3.166 GB, free: 29.68 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/7.624, allocations: 47.92 kB / 3.166 GB, free: 29.63 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/7.628, allocations: 0.4984 MB / 3.167 GB, free: 29.13 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/7.628, allocations: 121.1 kB / 3.167 GB, free: 29.02 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/7.629, allocations: 87.94 kB / 3.167 GB, free: 28.93 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005069/7.634, allocations: 2.999 MB / 3.17 GB, free: 25.92 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.11e-07/7.634, allocations: 3.938 kB / 3.17 GB, free: 25.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0087/7.642, allocations: 1.943 MB / 3.172 GB, free: 23.97 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) * 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.002608/7.645, allocations: 1.097 MB / 3.173 GB, free: 22.95 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01556/7.661, allocations: 7.843 MB / 3.181 GB, free: 15.03 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/7.661, allocations: 4 kB / 3.181 GB, free: 15.03 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004506/7.665, allocations: 2.315 MB / 3.183 GB, free: 12.71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01089/7.676, allocations: 2.07 MB / 3.185 GB, free: 10.74 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/7.693, allocations: 9.691 MB / 3.194 GB, free: 1.039 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/7.696, allocations: 2.99 MB / 3.197 GB, free: 14.01 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00751/7.703, allocations: 1.801 MB / 3.199 GB, free: 12.27 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/7.705, allocations: 295.3 kB / 3.199 GB, free: 11.98 MB / 1.182 GB Notification: Performance of SimCode: time 1.283e-06/7.705, allocations: 0 / 3.199 GB, free: 11.98 MB / 1.182 GB Notification: Performance of Templates: time 0.9217/8.627, allocations: 86.71 MB / 3.284 GB, free: 197.7 MB / 1.182 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