Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.00107/0.00107, allocations: 180.2 kB / 492.3 MB, free: 0.6211 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.603/1.603, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009454/0.0009454, allocations: 95.92 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.563e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3379, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.706/3.044, allocations: 0.8138 GB / 2.026 GB, free: 146.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/3.044, allocations: 97.98 kB / 2.026 GB, free: 146.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.511/6.555, allocations: 0.9115 GB / 2.938 GB, free: 162.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.523e-06/6.555, allocations: 7.781 kB / 2.938 GB, free: 162.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.553e-05/6.555, allocations: 27.98 kB / 2.938 GB, free: 162.1 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003615/6.558, allocations: 1.286 MB / 2.939 GB, free: 160.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/6.558, allocations: 8.031 kB / 2.939 GB, free: 160.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/6.561, allocations: 446.1 kB / 2.94 GB, free: 160.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/6.563, allocations: 0.9917 MB / 2.941 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/6.563, allocations: 66 kB / 2.941 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/6.563, allocations: 88 kB / 2.941 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/6.565, allocations: 0.9913 MB / 2.942 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/6.565, allocations: 0 / 2.942 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/6.565, allocations: 32 kB / 2.942 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/6.565, allocations: 34 kB / 2.942 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/6.566, allocations: 0.9175 MB / 2.943 GB, free: 157.2 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.004259/6.57, allocations: 3.596 MB / 2.946 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/6.571, allocations: 0.7038 MB / 2.947 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/6.572, allocations: 443.9 kB / 2.947 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/6.572, allocations: 214.7 kB / 2.947 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/6.572, allocations: 39.12 kB / 2.947 GB, free: 151.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 3.156e-06/6.572, allocations: 0 / 2.947 GB, free: 151.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.001791/6.574, allocations: 0.8389 MB / 2.948 GB, free: 151 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/6.574, allocations: 55.97 kB / 2.948 GB, free: 151 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/6.575, allocations: 0.6364 MB / 2.949 GB, free: 150.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/6.575, allocations: 37.7 kB / 2.949 GB, free: 150.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/6.575, allocations: 412.1 kB / 2.949 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/6.575, allocations: 228.7 kB / 2.95 GB, free: 149.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/6.575, allocations: 12 kB / 2.95 GB, free: 149.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001255/6.575, allocations: 394.7 kB / 2.95 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/6.576, allocations: 297.4 kB / 2.95 GB, free: 148.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/6.576, allocations: 408 kB / 2.951 GB, free: 148.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/6.576, allocations: 359.1 kB / 2.951 GB, free: 148.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/6.576, allocations: 4 kB / 2.951 GB, free: 148.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00103/6.578, allocations: 0.8104 MB / 2.952 GB, free: 147.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/6.578, allocations: 451.3 kB / 2.952 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/6.578, allocations: 8 kB / 2.952 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/6.578, allocations: 11.98 kB / 2.952 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/6.578, allocations: 139.7 kB / 2.952 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003086/6.579, allocations: 0.6055 MB / 2.953 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/6.58, allocations: 139.3 kB / 2.953 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/6.58, allocations: 35.98 kB / 2.953 GB, free: 145.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/6.58, allocations: 6.344 kB / 2.953 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008998/6.581, allocations: 0.7238 MB / 2.954 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/6.581, allocations: 0 / 2.954 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/6.581, allocations: 4 kB / 2.954 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/6.581, allocations: 131.8 kB / 2.954 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/6.581, allocations: 4 kB / 2.954 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/6.582, allocations: 139.4 kB / 2.954 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/6.582, allocations: 31.98 kB / 2.954 GB, free: 144.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * 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): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002155/6.582, allocations: 140.8 kB / 2.954 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/6.582, allocations: 83.02 kB / 2.954 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/6.584, allocations: 0.8475 MB / 2.955 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/6.584, allocations: 8 kB / 2.955 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/6.584, allocations: 0 / 2.955 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008055/6.585, allocations: 0.7919 MB / 2.956 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/6.588, allocations: 2.526 MB / 2.958 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/6.588, allocations: 7.938 kB / 2.958 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/6.588, allocations: 136.2 kB / 2.959 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/6.589, allocations: 44.84 kB / 2.959 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/6.589, allocations: 27.92 kB / 2.959 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004332/6.589, allocations: 1.181 MB / 2.96 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.589, allocations: 7.938 kB / 2.96 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/6.591, allocations: 1.491 MB / 2.961 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/6.591, allocations: 263.9 kB / 2.962 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/6.591, allocations: 23.98 kB / 2.962 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/6.592, allocations: 75.84 kB / 2.962 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/6.592, allocations: 52.27 kB / 2.962 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/6.592, allocations: 35.98 kB / 2.962 GB, free: 136.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005739/6.593, allocations: 0.503 MB / 2.962 GB, free: 136.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.593, allocations: 0 / 2.962 GB, free: 136.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0027/6.595, allocations: 0.8382 MB / 2.963 GB, free: 135.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.medium.Xi[3],vol.dynBal.medium.Xi[4],vol.dynBal.medium.Xi[5],vol.dynBal.medium.Xi[6],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002739/6.598, allocations: 1.273 MB / 2.964 GB, free: 134.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001728/6.6, allocations: 1.177 MB / 2.965 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/6.6, allocations: 4.5 kB / 2.965 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005214/6.6, allocations: 406.2 kB / 2.966 GB, free: 132.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/6.603, allocations: 0.5041 MB / 2.966 GB, free: 132.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/6.606, allocations: 1.998 MB / 2.968 GB, free: 130 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/6.606, allocations: 1.129 MB / 2.969 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001393/6.608, allocations: 0.5491 MB / 2.97 GB, free: 128.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/6.608, allocations: 63.42 kB / 2.97 GB, free: 128.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.064e-06/6.608, allocations: 0 / 2.97 GB, free: 128.2 MB / 1.167 GB Notification: Performance of Templates: time 0.04903/6.657, allocations: 37.45 MB / 3.007 GB, free: 90.89 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches