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.314/2.314, allocations: 390.5 MB / 398 MB, free: 10.93 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.00125/0.00125, allocations: 180.8 kB / 491.2 MB, free: 1.555 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.587/1.587, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001031/0.001031, allocations: 98.84 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.53e-05, allocations: 5.875 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.656, allocations: 460.5 MB / 1.662 GB, free: 2.91 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.657, allocations: 102.4 kB / 1.662 GB, free: 2.855 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.307/6.964, allocations: 1.361 GB / 3.023 GB, free: 57.01 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.106e-06/6.964, allocations: 0 / 3.023 GB, free: 57.01 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00072/6.965, allocations: 95.86 kB / 3.023 GB, free: 56.91 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01253/6.977, allocations: 3.483 MB / 3.026 GB, free: 53.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/6.977, allocations: 12.02 kB / 3.026 GB, free: 53.36 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/6.989, allocations: 1.789 MB / 3.028 GB, free: 51.57 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/7.005, allocations: 5.284 MB / 3.033 GB, free: 46.22 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006441/7.006, allocations: 258.6 kB / 3.033 GB, free: 45.95 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/7.007, allocations: 135.9 kB / 3.033 GB, free: 45.81 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01071/7.018, allocations: 4.567 MB / 3.038 GB, free: 41.24 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009474/7.027, allocations: 3.352 MB / 3.041 GB, free: 37.83 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/7.028, allocations: 4 kB / 3.041 GB, free: 37.82 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007528/7.028, allocations: 8 kB / 3.041 GB, free: 37.82 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/7.028, allocations: 59.88 kB / 3.041 GB, free: 37.76 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.03122/7.06, allocations: 15.54 MB / 3.056 GB, free: 21.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/7.067, allocations: 3.396 MB / 3.06 GB, free: 18.18 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/7.07, allocations: 1.667 MB / 3.061 GB, free: 16.51 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009857/7.071, allocations: 1.26 MB / 3.063 GB, free: 14.97 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002541/7.073, allocations: 1.701 MB / 3.064 GB, free: 13.26 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003356/7.077, allocations: 366.5 kB / 3.065 GB, free: 12.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 1.335e-05/7.077, allocations: 3.938 kB / 3.065 GB, free: 12.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.007224/7.084, allocations: 3.274 MB / 3.068 GB, free: 9.605 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/7.084, allocations: 72.66 kB / 3.068 GB, free: 9.52 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009456/7.093, allocations: 3.268 MB / 3.071 GB, free: 6.262 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009609/7.094, allocations: 33.7 kB / 3.071 GB, free: 6.223 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002612/7.097, allocations: 1.55 MB / 3.073 GB, free: 4.648 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/7.098, allocations: 0.4928 MB / 3.073 GB, free: 4.148 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005756/7.099, allocations: 0 / 3.073 GB, free: 4.148 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002635/7.099, allocations: 381.9 kB / 3.073 GB, free: 3.77 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/7.102, allocations: 1.503 MB / 3.075 GB, free: 2.266 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003158/7.105, allocations: 2.11 MB / 3.077 GB, free: 15.93 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/7.109, allocations: 1.624 MB / 3.079 GB, free: 14.31 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/7.109, allocations: 4 kB / 3.079 GB, free: 14.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01089/7.12, allocations: 3.856 MB / 3.082 GB, free: 10.43 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002418/7.122, allocations: 4.04 MB / 3.086 GB, free: 6.039 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/7.122, allocations: 12 kB / 3.086 GB, free: 6.027 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/7.123, allocations: 165.6 kB / 3.086 GB, free: 5.859 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/7.127, allocations: 0.7332 MB / 3.087 GB, free: 5.125 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/7.129, allocations: 1.444 MB / 3.089 GB, free: 3.629 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006384/7.135, allocations: 0.5146 MB / 3.089 GB, free: 3.113 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006617/7.136, allocations: 113.4 kB / 3.089 GB, free: 3.004 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/7.136, allocations: 4 kB / 3.089 GB, free: 3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.158/8.294, allocations: 3.414 MB / 3.092 GB, free: 197.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/8.294, allocations: 9.062 kB / 3.092 GB, free: 197.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/8.295, allocations: 175.9 kB / 3.093 GB, free: 197.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/8.299, allocations: 0.7311 MB / 3.093 GB, free: 197.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/8.303, allocations: 3.527 MB / 3.097 GB, free: 195 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/8.309, allocations: 0.4962 MB / 3.097 GB, free: 195 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000831/8.31, allocations: 109.6 kB / 3.097 GB, free: 195 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 () * 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.0008315/8.31, allocations: 154 kB / 3.098 GB, free: 194.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/8.312, allocations: 330 kB / 3.098 GB, free: 194.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00886/8.321, allocations: 3.66 MB / 3.101 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/8.321, allocations: 17.34 kB / 3.101 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/8.321, allocations: 4.812 kB / 3.101 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005769/8.326, allocations: 3.093 MB / 3.104 GB, free: 194.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.02012/8.347, allocations: 7.541 MB / 3.112 GB, free: 194 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/8.347, allocations: 2.031 kB / 3.112 GB, free: 194 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/8.35, allocations: 0.6053 MB / 3.112 GB, free: 194 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/8.35, allocations: 126.8 kB / 3.113 GB, free: 194 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/8.351, allocations: 38.97 kB / 3.113 GB, free: 194 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/8.352, allocations: 1.317 MB / 3.114 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/8.352, allocations: 4.078 kB / 3.114 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/8.364, allocations: 5.895 MB / 3.12 GB, free: 192.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004064/8.369, allocations: 1.118 MB / 3.121 GB, free: 191.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/8.37, allocations: 6.953 kB / 3.121 GB, free: 191.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00549/8.376, allocations: 483 kB / 3.121 GB, free: 191.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/8.376, allocations: 115.7 kB / 3.121 GB, free: 191.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004627/8.377, allocations: 90.42 kB / 3.121 GB, free: 191.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.008547/8.385, allocations: 2.508 MB / 3.124 GB, free: 191.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 8.62e-07/8.385, allocations: 0 / 3.124 GB, free: 191.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01429/8.4, allocations: 1.826 MB / 3.126 GB, free: 191.5 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) * 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.004116/8.404, allocations: 1.049 MB / 3.127 GB, free: 191.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01408/8.418, allocations: 5.723 MB / 3.132 GB, free: 191 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/8.418, allocations: 6.062 kB / 3.132 GB, free: 191 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003749/8.422, allocations: 1.647 MB / 3.134 GB, free: 191 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01303/8.435, allocations: 1.786 MB / 3.136 GB, free: 190.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/8.46, allocations: 7.21 MB / 3.143 GB, free: 189.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005375/8.466, allocations: 2.906 MB / 3.145 GB, free: 189 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01262/8.478, allocations: 2.833 MB / 3.148 GB, free: 188.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/8.48, allocations: 213.2 kB / 3.148 GB, free: 188.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.132e-06/8.48, allocations: 6.625 kB / 3.148 GB, free: 188.9 MB / 1.182 GB Notification: Performance of Templates: time 0.1475/8.628, allocations: 73.85 MB / 3.221 GB, free: 186.3 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