Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009056/0.0009058, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8345, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir): time 0.1952/1.03, allocations: 152.5 MB / 1.102 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.041, allocations: 6.186 MB / 1.108 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/1.043, allocations: 23.81 kB / 1.108 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/1.045, allocations: 442 kB / 1.109 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00536/1.05, allocations: 1.386 MB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/1.053, allocations: 0.8756 MB / 1.111 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00389/1.057, allocations: 2.206 MB / 1.113 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/1.059, allocations: 1.079 MB / 1.114 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/1.061, allocations: 0.9967 MB / 1.115 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/1.063, allocations: 0.7353 MB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/1.063, allocations: 52 kB / 1.116 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/1.065, allocations: 0.7215 MB / 1.117 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005541/1.066, allocations: 434.8 kB / 1.117 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/1.066, allocations: 325 kB / 1.117 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/1.069, allocations: 1.945 MB / 1.119 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/1.069, allocations: 0 / 1.119 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.104e-06/1.069, allocations: 0 / 1.119 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.28e-05/1.069, allocations: 0 / 1.119 GB, free: 5.918 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003025/1.072, allocations: 1.612 MB / 1.121 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.072, allocations: 8.031 kB / 1.121 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/1.075, allocations: 497.7 kB / 1.121 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/1.078, allocations: 1.171 MB / 1.123 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/1.078, allocations: 78 kB / 1.123 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/1.078, allocations: 100 kB / 1.123 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/1.081, allocations: 1.327 MB / 1.124 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.081, allocations: 4 kB / 1.124 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/1.081, allocations: 47.92 kB / 1.124 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/1.081, allocations: 41.98 kB / 1.124 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/1.083, allocations: 1.276 MB / 1.125 GB, free: 15.66 MB / 0.8887 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.007936/1.091, allocations: 4.951 MB / 1.13 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.092, allocations: 1 MB / 1.131 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/1.092, allocations: 24.62 kB / 1.131 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.093, allocations: 47.22 kB / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=78): time 3.176e-06/1.093, allocations: 0 / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.005931/1.098, allocations: 3.01 MB / 1.134 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.099, allocations: 64.05 kB / 1.134 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.1, allocations: 0.9771 MB / 1.135 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/1.1, allocations: 49.62 kB / 1.135 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/1.1, allocations: 0.5351 MB / 1.136 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/1.101, allocations: 295.8 kB / 1.136 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/1.101, allocations: 16 kB / 1.136 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.101, allocations: 338 kB / 1.136 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/1.102, allocations: 441.7 kB / 1.137 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/1.102, allocations: 0.5863 MB / 1.137 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/1.103, allocations: 0.5494 MB / 1.138 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.103, allocations: 0 / 1.138 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00203/1.105, allocations: 1.246 MB / 1.139 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004421/1.106, allocations: 1.055 MB / 1.14 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.106, allocations: 4 kB / 1.14 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/1.106, allocations: 68.81 kB / 1.14 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.107, allocations: 203.7 kB / 1.14 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/1.11, allocations: 3.01 MB / 1.143 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.112, allocations: 147.7 kB / 1.144 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/1.112, allocations: 28 kB / 1.144 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.112, allocations: 5.094 kB / 1.144 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/1.114, allocations: 1.133 MB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.114, allocations: 4 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/1.114, allocations: 77.52 kB / 1.145 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/1.115, allocations: 175.7 kB / 1.145 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/1.117, allocations: 1.846 MB / 1.147 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/1.119, allocations: 147.6 kB / 1.147 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/1.119, allocations: 28 kB / 1.147 GB, free: 8.652 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.12, allocations: 0.5982 MB / 1.147 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/1.12, allocations: 110.7 kB / 1.148 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.122, allocations: 1.208 MB / 1.149 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.122, allocations: 8 kB / 1.149 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.122, allocations: 0 / 1.149 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/1.124, allocations: 1.245 MB / 1.15 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/1.128, allocations: 2.812 MB / 1.153 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.128, allocations: 4 kB / 1.153 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.129, allocations: 235.6 kB / 1.153 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/1.13, allocations: 69.14 kB / 1.153 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/1.13, allocations: 27.98 kB / 1.153 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/1.132, allocations: 3.014 MB / 1.156 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.132, allocations: 4.031 kB / 1.156 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/1.135, allocations: 1.944 MB / 1.158 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009348/1.136, allocations: 323.7 kB / 1.158 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/1.136, allocations: 31.94 kB / 1.158 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.137, allocations: 115.6 kB / 1.158 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.137, allocations: 48.59 kB / 1.158 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/1.137, allocations: 31.98 kB / 1.158 GB, free: 12.37 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000942/1.138, allocations: 0.6918 MB / 1.159 GB, free: 11.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/1.138, allocations: 4 kB / 1.159 GB, free: 11.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001795/1.14, allocations: 0.6523 MB / 1.16 GB, free: 11.01 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004984/1.14, allocations: 237.2 kB / 1.16 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003059/1.144, allocations: 1.901 MB / 1.162 GB, free: 8.855 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.144, allocations: 4 kB / 1.162 GB, free: 8.852 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/1.145, allocations: 0.6778 MB / 1.162 GB, free: 8.164 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.148, allocations: 0.7831 MB / 1.163 GB, free: 7.387 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/1.154, allocations: 3.64 MB / 1.167 GB, free: 3.695 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.155, allocations: 1.448 MB / 1.168 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002232/1.157, allocations: 0.6884 MB / 1.169 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/1.158, allocations: 91.42 kB / 1.169 GB, free: 1.434 MB / 0.92 GB Notification: Performance of SimCode: time 1.373e-06/1.158, allocations: 0 / 1.169 GB, free: 1.434 MB / 0.92 GB Notification: Performance of Templates: time 0.04332/1.201, allocations: 26.05 MB / 1.194 GB, free: 7.691 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches