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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001189/0.001189, allocations: 183.3 kB / 498.1 MB, free: 5.758 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.871/1.871, allocations: 223.2 MB / 0.7949 GB, free: 18.85 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.001051/0.001051, allocations: 101.9 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003965, allocations: 8.531 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 142.4 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.781/6.108, allocations: 2.166 GB / 3.389 GB, free: 287.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/6.109, allocations: 104.5 kB / 3.389 GB, free: 287.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.649/7.758, allocations: 489.5 MB / 3.867 GB, free: 259 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/7.758, allocations: 0 / 3.867 GB, free: 259 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000179/7.758, allocations: 43.92 kB / 3.867 GB, free: 259 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004865/7.763, allocations: 1.77 MB / 3.869 GB, free: 257.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/7.763, allocations: 8.031 kB / 3.869 GB, free: 257.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/7.766, allocations: 485.4 kB / 3.869 GB, free: 256.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/7.77, allocations: 1.347 MB / 3.87 GB, free: 255.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/7.77, allocations: 78 kB / 3.871 GB, free: 255.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/7.77, allocations: 100 kB / 3.871 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/7.773, allocations: 1.245 MB / 3.872 GB, free: 253.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/7.773, allocations: 0 / 3.872 GB, free: 253.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/7.773, allocations: 48 kB / 3.872 GB, free: 253.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/7.773, allocations: 38.67 kB / 3.872 GB, free: 253.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/7.775, allocations: 1.187 MB / 3.873 GB, free: 252.6 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.00806/7.783, allocations: 4.889 MB / 3.878 GB, free: 247.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/7.785, allocations: 0.9966 MB / 3.879 GB, free: 246.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/7.785, allocations: 198.8 kB / 3.879 GB, free: 246.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/7.785, allocations: 47.2 kB / 3.879 GB, free: 246 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.286e-06/7.785, allocations: 4 kB / 3.879 GB, free: 246 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.005993/7.791, allocations: 2.983 MB / 3.882 GB, free: 243 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/7.791, allocations: 60.06 kB / 3.882 GB, free: 242.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/7.792, allocations: 0.859 MB / 3.883 GB, free: 242 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/7.793, allocations: 45.7 kB / 3.883 GB, free: 242 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/7.793, allocations: 0.5389 MB / 3.883 GB, free: 241.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/7.793, allocations: 291.8 kB / 3.884 GB, free: 241.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/7.793, allocations: 16 kB / 3.884 GB, free: 241.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/7.793, allocations: 341.9 kB / 3.884 GB, free: 240.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/7.794, allocations: 437.7 kB / 3.884 GB, free: 240.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/7.795, allocations: 0.5957 MB / 3.885 GB, free: 239.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/7.795, allocations: 0.5455 MB / 3.886 GB, free: 239.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.795, allocations: 0 / 3.886 GB, free: 239.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001641/7.797, allocations: 1.242 MB / 3.887 GB, free: 237.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/7.797, allocations: 1.051 MB / 3.888 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/7.797, allocations: 8 kB / 3.888 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/7.797, allocations: 68.81 kB / 3.888 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/7.798, allocations: 187.8 kB / 3.888 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/7.8, allocations: 3.006 MB / 3.891 GB, free: 233.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/7.802, allocations: 147.6 kB / 3.891 GB, free: 233.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/7.802, allocations: 36.34 kB / 3.891 GB, free: 233.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/7.802, allocations: 8.875 kB / 3.891 GB, free: 233.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/7.803, allocations: 1.125 MB / 3.892 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/7.803, allocations: 4 kB / 3.892 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/7.803, allocations: 76.75 kB / 3.892 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/7.804, allocations: 175.8 kB / 3.893 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/7.805, allocations: 1.83 MB / 3.894 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/7.807, allocations: 151.6 kB / 3.894 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/7.807, allocations: 40.02 kB / 3.895 GB, free: 229.6 MB / 1.167 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.001096/7.808, allocations: 0.6015 MB / 3.895 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/7.809, allocations: 110.7 kB / 3.895 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/7.811, allocations: 1.189 MB / 3.896 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/7.811, allocations: 8 kB / 3.896 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/7.811, allocations: 4 kB / 3.896 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/7.812, allocations: 1.249 MB / 3.898 GB, free: 226.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/7.817, allocations: 2.803 MB / 3.9 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/7.817, allocations: 11.95 kB / 3.9 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/7.818, allocations: 231.7 kB / 3.901 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/7.818, allocations: 69.06 kB / 3.901 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/7.818, allocations: 23.98 kB / 3.901 GB, free: 223.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/7.82, allocations: 3.006 MB / 3.904 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/7.82, allocations: 7.938 kB / 3.904 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/7.822, allocations: 1.932 MB / 3.906 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/7.824, allocations: 331.6 kB / 3.906 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/7.824, allocations: 24.38 kB / 3.906 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/7.825, allocations: 111.7 kB / 3.906 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/7.825, allocations: 60.45 kB / 3.906 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/7.825, allocations: 35.98 kB / 3.906 GB, free: 217.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009508/7.826, allocations: 0.6918 MB / 3.907 GB, free: 216.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.826, allocations: 0 / 3.907 GB, free: 216.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002836/7.829, allocations: 0.7812 MB / 3.907 GB, free: 215.9 MB / 1.167 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.002098/7.831, allocations: 1.335 MB / 3.909 GB, free: 214.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002711/7.834, allocations: 1.881 MB / 3.911 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/7.834, allocations: 0 / 3.911 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008009/7.835, allocations: 0.6671 MB / 3.911 GB, free: 211.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/7.838, allocations: 0.7869 MB / 3.912 GB, free: 211.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/7.843, allocations: 3.642 MB / 3.916 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/7.844, allocations: 1.456 MB / 3.917 GB, free: 205.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002059/7.846, allocations: 0.6962 MB / 3.918 GB, free: 205.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/7.847, allocations: 87.44 kB / 3.918 GB, free: 205.1 MB / 1.167 GB Notification: Performance of SimCode: time 7.81e-07/7.847, allocations: 0 / 3.918 GB, free: 205.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05527/7.902, allocations: 41.79 MB / 3.959 GB, free: 163.6 MB / 1.167 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