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.309/2.309, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001568/0.001568, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.549/1.549, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008224/0.0008225, allocations: 99.39 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.57e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.536, allocations: 459.2 MB / 1.661 GB, free: 3.984 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.537, allocations: 97.5 kB / 1.661 GB, free: 3.934 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.339/6.876, allocations: 1.372 GB / 3.033 GB, free: 46.75 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/6.876, allocations: 0 / 3.033 GB, free: 46.75 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006718/6.876, allocations: 99.84 kB / 3.033 GB, free: 46.65 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.01205/6.888, allocations: 3.636 MB / 3.036 GB, free: 42.95 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/6.888, allocations: 8.031 kB / 3.036 GB, free: 42.94 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/6.9, allocations: 1.914 MB / 3.038 GB, free: 41.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/6.913, allocations: 5.43 MB / 3.044 GB, free: 35.54 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/6.914, allocations: 339.5 kB / 3.044 GB, free: 35.18 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007575/6.914, allocations: 239.9 kB / 3.044 GB, free: 34.95 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/6.92, allocations: 3.903 MB / 3.048 GB, free: 30.96 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/6.921, allocations: 7.938 kB / 3.048 GB, free: 30.95 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/6.921, allocations: 88 kB / 3.048 GB, free: 30.86 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/6.921, allocations: 59.98 kB / 3.048 GB, free: 30.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/6.927, allocations: 4.329 MB / 3.052 GB, free: 26.47 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.02614/6.953, allocations: 15.92 MB / 3.068 GB, free: 9.914 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007695/6.961, allocations: 3.564 MB / 3.071 GB, free: 6.328 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/6.963, allocations: 1.73 MB / 3.073 GB, free: 4.598 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/6.964, allocations: 1.271 MB / 3.074 GB, free: 3.047 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002811/6.967, allocations: 1.805 MB / 3.076 GB, free: 1.227 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003389/6.971, allocations: 437.9 kB / 3.076 GB, free: 0.7969 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 1.497e-05/6.971, allocations: 0 / 3.076 GB, free: 0.7969 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.007031/6.978, allocations: 3.29 MB / 3.08 GB, free: 13.48 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/6.978, allocations: 226.9 kB / 3.08 GB, free: 13.21 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009751/6.988, allocations: 3.805 MB / 3.084 GB, free: 9.383 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0009602/6.989, allocations: 77.55 kB / 3.084 GB, free: 9.305 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/6.991, allocations: 1.585 MB / 3.085 GB, free: 7.695 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/6.993, allocations: 0.5353 MB / 3.086 GB, free: 7.152 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005835/6.993, allocations: 40 kB / 3.086 GB, free: 7.113 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002924/6.994, allocations: 377.9 kB / 3.086 GB, free: 6.738 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/6.997, allocations: 1.608 MB / 3.088 GB, free: 5.129 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/7, allocations: 2.282 MB / 3.09 GB, free: 2.602 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/7.004, allocations: 1.692 MB / 3.092 GB, free: 0.9102 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/7.004, allocations: 4 kB / 3.092 GB, free: 0.9062 MB / 1.182 GB Notification: Performance of matching and sorting (n=237) (initialization): time 1.057/8.061, allocations: 4.084 MB / 3.096 GB, free: 194 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001123/8.062, allocations: 3.928 MB / 3.099 GB, free: 189.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/8.062, allocations: 10.19 kB / 3.099 GB, free: 189.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/8.063, allocations: 167.2 kB / 3.1 GB, free: 189.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/8.067, allocations: 0.7679 MB / 3.1 GB, free: 189.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/8.069, allocations: 1.369 MB / 3.102 GB, free: 188.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/8.075, allocations: 0.5755 MB / 3.102 GB, free: 188.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/8.076, allocations: 119.9 kB / 3.102 GB, free: 188.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/8.076, allocations: 7.156 kB / 3.102 GB, free: 188.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008254/8.085, allocations: 3.748 MB / 3.106 GB, free: 188.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.277e-05/8.085, allocations: 15.55 kB / 3.106 GB, free: 188.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/8.085, allocations: 180.4 kB / 3.106 GB, free: 188.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/8.089, allocations: 0.7724 MB / 3.107 GB, free: 188.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/8.093, allocations: 3.655 MB / 3.111 GB, free: 186.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006387/8.1, allocations: 0.5722 MB / 3.111 GB, free: 186.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008552/8.1, allocations: 121.2 kB / 3.111 GB, free: 186.1 MB / 1.182 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.001033/8.101, allocations: 229.7 kB / 3.111 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/8.103, allocations: 361.8 kB / 3.112 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009496/8.113, allocations: 3.846 MB / 3.115 GB, free: 185.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/8.113, allocations: 25.45 kB / 3.116 GB, free: 185.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/8.113, allocations: 0.9375 kB / 3.116 GB, free: 185.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006509/8.119, allocations: 3.231 MB / 3.119 GB, free: 185.4 MB / 1.182 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.02596/8.145, allocations: 8.044 MB / 3.127 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/8.145, allocations: 3.875 kB / 3.127 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/8.148, allocations: 0.6281 MB / 3.127 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/8.148, allocations: 148.1 kB / 3.127 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/8.149, allocations: 70.73 kB / 3.127 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008546/8.15, allocations: 1.302 MB / 3.129 GB, free: 183.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/8.15, allocations: 7.406 kB / 3.129 GB, free: 183.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/8.158, allocations: 6.157 MB / 3.135 GB, free: 183.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004474/8.163, allocations: 1.17 MB / 3.136 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001524/8.164, allocations: 44.33 kB / 3.136 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004604/8.169, allocations: 0.5017 MB / 3.136 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/8.169, allocations: 118.3 kB / 3.136 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/8.17, allocations: 93.3 kB / 3.137 GB, free: 182.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.006468/8.176, allocations: 2.963 MB / 3.139 GB, free: 182.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 9.52e-07/8.176, allocations: 0 / 3.139 GB, free: 182.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01593/8.192, allocations: 1.94 MB / 3.141 GB, free: 182.3 MB / 1.182 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.004287/8.197, allocations: 1.123 MB / 3.142 GB, free: 182.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01636/8.213, allocations: 6.252 MB / 3.149 GB, free: 181.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/8.213, allocations: 1.406 kB / 3.149 GB, free: 181.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004981/8.218, allocations: 1.741 MB / 3.15 GB, free: 181.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01539/8.233, allocations: 2.115 MB / 3.152 GB, free: 181.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/8.256, allocations: 6.909 MB / 3.159 GB, free: 180.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007461/8.264, allocations: 2.999 MB / 3.162 GB, free: 179.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01377/8.278, allocations: 3.099 MB / 3.165 GB, free: 179.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/8.279, allocations: 233.8 kB / 3.165 GB, free: 179.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.172e-06/8.279, allocations: 0 / 3.165 GB, free: 179.5 MB / 1.182 GB Notification: Performance of Templates: time 0.1766/8.456, allocations: 94.3 MB / 3.257 GB, free: 175.9 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