Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001495/0.001495, allocations: 175.4 kB / 498.1 MB, free: 5.754 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.677/1.677, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001036/0.001036, allocations: 98.73 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 11.03 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.502, allocations: 423.5 MB / 1.636 GB, free: 4.473 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.502, allocations: 90.89 kB / 1.637 GB, free: 4.426 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.088/3.59, allocations: 0.6298 GB / 2.266 GB, free: 62.76 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.186e-06/3.59, allocations: 7.984 kB / 2.266 GB, free: 62.75 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001412/3.59, allocations: 39.98 kB / 2.266 GB, free: 62.71 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004617/3.595, allocations: 2.101 MB / 2.268 GB, free: 60.55 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/3.595, allocations: 12.03 kB / 2.268 GB, free: 60.54 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/3.596, allocations: 381.7 kB / 2.269 GB, free: 60.16 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0249/3.621, allocations: 13.76 MB / 2.282 GB, free: 46.23 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006223/3.622, allocations: 214.2 kB / 2.282 GB, free: 46.02 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/3.622, allocations: 99.94 kB / 2.283 GB, free: 45.92 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/3.624, allocations: 1.149 MB / 2.284 GB, free: 44.73 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/3.624, allocations: 3.953 kB / 2.284 GB, free: 44.72 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/3.624, allocations: 36 kB / 2.284 GB, free: 44.69 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/3.624, allocations: 34 kB / 2.284 GB, free: 44.65 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/3.626, allocations: 1.081 MB / 2.285 GB, free: 43.57 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.007271/3.634, allocations: 4.84 MB / 2.289 GB, free: 38.46 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/3.636, allocations: 0.9447 MB / 2.29 GB, free: 37.51 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008187/3.637, allocations: 1.06 MB / 2.291 GB, free: 36.23 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/3.638, allocations: 0.5548 MB / 2.292 GB, free: 35.66 MB / 1.167 GB Notification: Performance of pre-optimization done (n=74): time 3.126e-06/3.638, allocations: 0 / 2.292 GB, free: 35.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=74): time 0.003343/3.641, allocations: 1.433 MB / 2.293 GB, free: 34.22 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/3.641, allocations: 115.4 kB / 2.294 GB, free: 34.08 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/3.642, allocations: 1.051 MB / 2.295 GB, free: 33.02 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/3.643, allocations: 49.7 kB / 2.295 GB, free: 32.97 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/3.643, allocations: 0.5841 MB / 2.295 GB, free: 32.38 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/3.643, allocations: 252.2 kB / 2.295 GB, free: 32.12 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/3.643, allocations: 20 kB / 2.295 GB, free: 32.11 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/3.643, allocations: 345.9 kB / 2.296 GB, free: 31.76 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/3.644, allocations: 461.7 kB / 2.296 GB, free: 31.31 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/3.645, allocations: 0.7208 MB / 2.297 GB, free: 30.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/3.646, allocations: 0.5218 MB / 2.297 GB, free: 29.97 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/3.646, allocations: 4 kB / 2.297 GB, free: 29.97 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002716/3.649, allocations: 1.341 MB / 2.299 GB, free: 28.61 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/3.649, allocations: 1.629 MB / 2.3 GB, free: 26.88 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/3.649, allocations: 4 kB / 2.3 GB, free: 26.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/3.65, allocations: 15.95 kB / 2.3 GB, free: 26.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/3.651, allocations: 315.5 kB / 2.301 GB, free: 26.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004649/3.651, allocations: 1.192 MB / 2.302 GB, free: 25.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/3.653, allocations: 210.8 kB / 2.302 GB, free: 25.11 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/3.653, allocations: 59.92 kB / 2.302 GB, free: 25.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.653, allocations: 4 kB / 2.302 GB, free: 25.04 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/3.655, allocations: 1.2 MB / 2.303 GB, free: 23.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/3.655, allocations: 7.938 kB / 2.303 GB, free: 23.83 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/3.655, allocations: 8 kB / 2.303 GB, free: 23.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/3.657, allocations: 291.8 kB / 2.304 GB, free: 23.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/3.657, allocations: 19.92 kB / 2.304 GB, free: 23.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/3.658, allocations: 195 kB / 2.304 GB, free: 23.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/3.658, allocations: 51.97 kB / 2.304 GB, free: 23.27 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007539/3.659, allocations: 372.9 kB / 2.304 GB, free: 22.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/3.659, allocations: 146.2 kB / 2.304 GB, free: 22.75 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/3.662, allocations: 1.359 MB / 2.306 GB, free: 21.39 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/3.662, allocations: 8 kB / 2.306 GB, free: 21.38 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/3.662, allocations: 0 / 2.306 GB, free: 21.38 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/3.662, allocations: 3.984 kB / 2.306 GB, free: 21.38 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/3.666, allocations: 2.61 MB / 2.308 GB, free: 18.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/3.666, allocations: 0 / 2.308 GB, free: 18.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/3.667, allocations: 235.9 kB / 2.308 GB, free: 18.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/3.667, allocations: 8 kB / 2.308 GB, free: 18.44 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/3.667, allocations: 27.98 kB / 2.308 GB, free: 18.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003674/3.668, allocations: 1.188 MB / 2.31 GB, free: 17.18 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/3.668, allocations: 7.969 kB / 2.31 GB, free: 17.17 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/3.671, allocations: 2.07 MB / 2.312 GB, free: 15 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007314/3.672, allocations: 359 kB / 2.312 GB, free: 14.63 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/3.672, allocations: 23.98 kB / 2.312 GB, free: 14.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/3.673, allocations: 139.7 kB / 2.312 GB, free: 14.47 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/3.674, allocations: 72.8 kB / 2.312 GB, free: 14.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/3.674, allocations: 39.91 kB / 2.312 GB, free: 14.36 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001034/3.675, allocations: 0.8011 MB / 2.313 GB, free: 13.56 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/3.675, allocations: 0 / 2.313 GB, free: 13.56 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002478/3.677, allocations: 0.8349 MB / 2.314 GB, free: 12.72 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001591/3.679, allocations: 0.8508 MB / 2.315 GB, free: 11.88 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004047/3.683, allocations: 1.908 MB / 2.316 GB, free: 9.945 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/3.683, allocations: 0 / 2.316 GB, free: 9.945 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/3.684, allocations: 0.6195 MB / 2.317 GB, free: 9.332 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/3.687, allocations: 0.5832 MB / 2.318 GB, free: 8.754 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/3.691, allocations: 2.994 MB / 2.321 GB, free: 5.707 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/3.692, allocations: 1.185 MB / 2.322 GB, free: 4.492 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001651/3.694, allocations: 366.3 kB / 2.322 GB, free: 4.145 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/3.694, allocations: 127.3 kB / 2.322 GB, free: 4.02 MB / 1.167 GB Notification: Performance of SimCode: time 9.51e-07/3.694, allocations: 0 / 2.322 GB, free: 4.02 MB / 1.167 GB Notification: Performance of Templates: time 0.674/4.368, allocations: 30.2 MB / 2.352 GB, free: 245.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches