Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.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_latest_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_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.65/2.65, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.002005/0.002005, allocations: 179.9 kB / 0.4902 GB, free: 2.266 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.758/1.758, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001096/0.001096, allocations: 104.2 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 7.469 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3337, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.65, allocations: 461.2 MB / 1.68 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.65, allocations: 103.1 kB / 1.68 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.163/6.814, allocations: 1.37 GB / 3.05 GB, free: 168.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.665e-06/6.814, allocations: 3.938 kB / 3.05 GB, free: 168.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.000834/6.815, allocations: 92.7 kB / 3.05 GB, free: 168.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01498/6.83, allocations: 4.382 MB / 3.054 GB, free: 163.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/6.83, allocations: 8.031 kB / 3.054 GB, free: 163.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/6.842, allocations: 1.788 MB / 3.056 GB, free: 162 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/6.857, allocations: 5.345 MB / 3.061 GB, free: 156.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/6.858, allocations: 343.2 kB / 3.062 GB, free: 156.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/6.859, allocations: 227.9 kB / 3.062 GB, free: 156.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/6.872, allocations: 4.416 MB / 3.066 GB, free: 151.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/6.873, allocations: 11.92 kB / 3.066 GB, free: 151.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008851/6.874, allocations: 76 kB / 3.066 GB, free: 151.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.819e-05/6.874, allocations: 56 kB / 3.066 GB, free: 151.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/6.888, allocations: 5.767 MB / 3.072 GB, free: 145.7 MB / 1.182 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.0326/6.92, allocations: 15.96 MB / 3.088 GB, free: 129.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/6.931, allocations: 4.141 MB / 3.092 GB, free: 125 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/6.932, allocations: 1.267 MB / 3.093 GB, free: 123.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006178/6.938, allocations: 2.312 MB / 3.095 GB, free: 121.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003741/6.942, allocations: 414.2 kB / 3.096 GB, free: 120.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=148): time 1.645e-05/6.942, allocations: 0 / 3.096 GB, free: 120.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=148): time 0.01591/6.958, allocations: 6.577 MB / 3.102 GB, free: 114.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/6.958, allocations: 68.72 kB / 3.102 GB, free: 114 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008035/6.966, allocations: 3.716 MB / 3.106 GB, free: 110.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/6.967, allocations: 65.7 kB / 3.106 GB, free: 110.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002283/6.97, allocations: 1.538 MB / 3.107 GB, free: 108.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/6.971, allocations: 0.5123 MB / 3.108 GB, free: 108.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/6.971, allocations: 36 kB / 3.108 GB, free: 108.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001914/6.972, allocations: 373.9 kB / 3.108 GB, free: 107.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004483/6.976, allocations: 2.088 MB / 3.11 GB, free: 105.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/6.981, allocations: 2.714 MB / 3.113 GB, free: 102.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/6.986, allocations: 2.153 MB / 3.115 GB, free: 100.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/6.986, allocations: 4 kB / 3.115 GB, free: 100.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01166/6.997, allocations: 5.024 MB / 3.12 GB, free: 95.49 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001846/6.999, allocations: 4.086 MB / 3.124 GB, free: 91.11 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/6.999, allocations: 12 kB / 3.124 GB, free: 91.09 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/7, allocations: 173.5 kB / 3.124 GB, free: 90.92 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/7.004, allocations: 0.7371 MB / 3.125 GB, free: 90.18 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/7.005, allocations: 1.37 MB / 3.126 GB, free: 88.76 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006234/7.012, allocations: 0.5615 MB / 3.127 GB, free: 88.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007702/7.012, allocations: 115.9 kB / 3.127 GB, free: 88.08 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/7.012, allocations: 4 kB / 3.127 GB, free: 88.08 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/7.023, allocations: 4.69 MB / 3.131 GB, free: 83.37 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/7.023, allocations: 11.62 kB / 3.131 GB, free: 83.36 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/7.024, allocations: 182.3 kB / 3.131 GB, free: 83.18 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/7.027, allocations: 0.7332 MB / 3.132 GB, free: 82.45 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/7.031, allocations: 3.707 MB / 3.136 GB, free: 78.48 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/7.036, allocations: 0.5615 MB / 3.136 GB, free: 77.91 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/7.037, allocations: 115.1 kB / 3.136 GB, free: 77.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 (chiPar.chi[1].tru.y,chiPar.chi[2].tru.y,$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 (208): * Single equations (assignments): 205 * 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: 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.003787/7.041, allocations: 1.352 MB / 3.138 GB, free: 76.44 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/7.043, allocations: 351.7 kB / 3.138 GB, free: 76.09 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/7.054, allocations: 4.87 MB / 3.143 GB, free: 71.21 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/7.054, allocations: 20 kB / 3.143 GB, free: 71.19 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/7.054, allocations: 3.938 kB / 3.143 GB, free: 71.18 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008457/7.063, allocations: 4.265 MB / 3.147 GB, free: 66.86 MB / 1.182 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.02363/7.087, allocations: 8.992 MB / 3.156 GB, free: 57.77 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/7.087, allocations: 4 kB / 3.156 GB, free: 57.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/7.09, allocations: 0.6009 MB / 3.156 GB, free: 57.17 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/7.09, allocations: 164.4 kB / 3.157 GB, free: 57 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005288/7.091, allocations: 55.95 kB / 3.157 GB, free: 56.95 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008535/7.092, allocations: 1.311 MB / 3.158 GB, free: 55.59 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/7.092, allocations: 3.953 kB / 3.158 GB, free: 55.58 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/7.108, allocations: 7.68 MB / 3.165 GB, free: 47.82 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004284/7.112, allocations: 1.15 MB / 3.167 GB, free: 46.61 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/7.114, allocations: 32 kB / 3.167 GB, free: 46.57 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004946/7.119, allocations: 495.2 kB / 3.167 GB, free: 46.09 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/7.119, allocations: 117.1 kB / 3.167 GB, free: 45.97 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004906/7.12, allocations: 87.94 kB / 3.167 GB, free: 45.89 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.007107/7.127, allocations: 2.913 MB / 3.17 GB, free: 42.99 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.41e-07/7.127, allocations: 0 / 3.17 GB, free: 42.99 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0103/7.137, allocations: 1.868 MB / 3.172 GB, free: 41.12 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U) * 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 (156): * Single equations (assignments): 144 * 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.003012/7.14, allocations: 1.042 MB / 3.173 GB, free: 40.17 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01711/7.157, allocations: 7.457 MB / 3.18 GB, free: 32.67 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/7.157, allocations: 3.938 kB / 3.18 GB, free: 32.66 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005113/7.163, allocations: 2.257 MB / 3.182 GB, free: 30.41 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/7.174, allocations: 2.024 MB / 3.184 GB, free: 28.48 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/7.197, allocations: 10.06 MB / 3.194 GB, free: 18.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/7.201, allocations: 2.901 MB / 3.197 GB, free: 15.47 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.009129/7.211, allocations: 1.77 MB / 3.199 GB, free: 13.76 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/7.213, allocations: 295.2 kB / 3.199 GB, free: 13.47 MB / 1.182 GB Notification: Performance of SimCode: time 1.874e-06/7.213, allocations: 0 / 3.199 GB, free: 13.47 MB / 1.182 GB Notification: Performance of Templates: time 0.8725/8.085, allocations: 83.89 MB / 3.281 GB, free: 192.7 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.csv","../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches