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.1/2.1, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001331/0.001331, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.319/1.319, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 90.66 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.495e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.759/1.966, allocations: 0.8132 GB / 2.019 GB, free: 164.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.966, allocations: 86.27 kB / 2.019 GB, free: 164.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.699/4.666, allocations: 0.8992 GB / 2.918 GB, free: 151.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.272e-06/4.666, allocations: 0 / 2.918 GB, free: 151.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.496e-05/4.666, allocations: 27.98 kB / 2.918 GB, free: 151.4 MB / 1.151 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.002839/4.669, allocations: 1.297 MB / 2.92 GB, free: 150 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/4.669, allocations: 12.56 kB / 2.92 GB, free: 150 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/4.671, allocations: 438.1 kB / 2.92 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/4.673, allocations: 0.9801 MB / 2.921 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/4.673, allocations: 27.98 kB / 2.921 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/4.673, allocations: 56 kB / 2.921 GB, free: 148.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001217/4.674, allocations: 0.8746 MB / 2.922 GB, free: 147.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/4.676, allocations: 0.8702 MB / 2.923 GB, free: 146.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/4.676, allocations: 0 / 2.923 GB, free: 146.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/4.676, allocations: 3.938 kB / 2.923 GB, free: 146.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/4.676, allocations: 38 kB / 2.923 GB, free: 146.7 MB / 1.151 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.003809/4.679, allocations: 3.394 MB / 2.926 GB, free: 143.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/4.68, allocations: 0.6857 MB / 2.927 GB, free: 142.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/4.681, allocations: 415 kB / 2.927 GB, free: 142 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/4.681, allocations: 214.7 kB / 2.928 GB, free: 141.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/4.681, allocations: 43.06 kB / 2.928 GB, free: 141.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/4.681, allocations: 0 / 2.928 GB, free: 141.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002031/4.683, allocations: 0.9327 MB / 2.929 GB, free: 140.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/4.683, allocations: 59.97 kB / 2.929 GB, free: 140.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/4.683, allocations: 474.1 kB / 2.929 GB, free: 140.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/4.683, allocations: 25.7 kB / 2.929 GB, free: 140.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/4.684, allocations: 415.8 kB / 2.929 GB, free: 139.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/4.684, allocations: 216.8 kB / 2.93 GB, free: 139.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/4.684, allocations: 0 / 2.93 GB, free: 139.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/4.684, allocations: 378.7 kB / 2.93 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/4.684, allocations: 285.5 kB / 2.93 GB, free: 138.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/4.685, allocations: 390.3 kB / 2.931 GB, free: 138.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/4.685, allocations: 469.8 kB / 2.931 GB, free: 138 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/4.685, allocations: 0 / 2.931 GB, free: 138 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001264/4.687, allocations: 0.8924 MB / 2.932 GB, free: 137.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/4.687, allocations: 455.3 kB / 2.932 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/4.687, allocations: 4 kB / 2.932 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/4.687, allocations: 4 kB / 2.932 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/4.687, allocations: 135.8 kB / 2.933 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002418/4.688, allocations: 0.6055 MB / 2.933 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/4.688, allocations: 119.5 kB / 2.933 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/4.688, allocations: 31.95 kB / 2.933 GB, free: 135.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/4.689, allocations: 4 kB / 2.933 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/4.69, allocations: 0.7899 MB / 2.934 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/4.69, allocations: 4 kB / 2.934 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/4.69, allocations: 4 kB / 2.934 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/4.69, allocations: 131.8 kB / 2.934 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/4.69, allocations: 8.125 kB / 2.934 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/4.691, allocations: 115.4 kB / 2.934 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/4.691, allocations: 32 kB / 2.934 GB, free: 134.6 MB / 1.151 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.0001332/4.691, allocations: 118.2 kB / 2.934 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/4.691, allocations: 71.2 kB / 2.935 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/4.693, allocations: 0.9167 MB / 2.935 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/4.693, allocations: 4 kB / 2.935 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/4.693, allocations: 4 kB / 2.935 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/4.694, allocations: 0.8777 MB / 2.936 GB, free: 132.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/4.697, allocations: 2.472 MB / 2.939 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/4.697, allocations: 4 kB / 2.939 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/4.698, allocations: 135.8 kB / 2.939 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/4.698, allocations: 49.22 kB / 2.939 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/4.698, allocations: 23.98 kB / 2.939 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004532/4.699, allocations: 1.181 MB / 2.94 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/4.699, allocations: 15.83 kB / 2.94 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/4.701, allocations: 1.561 MB / 2.942 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/4.701, allocations: 252.1 kB / 2.942 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/4.701, allocations: 11.98 kB / 2.942 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/4.702, allocations: 59.84 kB / 2.942 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/4.702, allocations: 60.27 kB / 2.942 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/4.702, allocations: 31.98 kB / 2.942 GB, free: 126.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004031/4.702, allocations: 366.9 kB / 2.942 GB, free: 126 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.702, allocations: 0 / 2.942 GB, free: 126 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002489/4.705, allocations: 0.7987 MB / 2.943 GB, free: 125.2 MB / 1.151 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.002647/4.708, allocations: 1.434 MB / 2.945 GB, free: 123.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001411/4.709, allocations: 1.131 MB / 2.946 GB, free: 122.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/4.709, allocations: 8.125 kB / 2.946 GB, free: 122.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/4.709, allocations: 385.3 kB / 2.946 GB, free: 122.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/4.711, allocations: 422 kB / 2.946 GB, free: 121.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/4.714, allocations: 1.93 MB / 2.948 GB, free: 119.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/4.714, allocations: 1.12 MB / 2.949 GB, free: 118.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001198/4.716, allocations: 485.3 kB / 2.95 GB, free: 118.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/4.716, allocations: 63.42 kB / 2.95 GB, free: 118.2 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/4.716, allocations: 4 kB / 2.95 GB, free: 118.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03059/4.746, allocations: 24.24 MB / 2.974 GB, free: 94.06 MB / 1.151 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