Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.00136/0.00136, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009821/0.0009821, allocations: 91.95 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.536e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2718, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.23/2.502, allocations: 0.8146 GB / 2.033 GB, free: 68.49 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/2.503, allocations: 85.42 kB / 2.033 GB, free: 68.45 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.598/6.101, allocations: 0.9115 GB / 2.945 GB, free: 93.18 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/6.101, allocations: 0 / 2.945 GB, free: 93.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001343/6.101, allocations: 24 kB / 2.945 GB, free: 93.16 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.004739/6.106, allocations: 1.309 MB / 2.946 GB, free: 91.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/6.106, allocations: 8.031 kB / 2.946 GB, free: 91.79 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/6.109, allocations: 430.2 kB / 2.947 GB, free: 91.37 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/6.111, allocations: 0.984 MB / 2.948 GB, free: 90.35 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/6.112, allocations: 73.94 kB / 2.948 GB, free: 90.27 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/6.112, allocations: 87.98 kB / 2.948 GB, free: 90.19 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/6.114, allocations: 0.9952 MB / 2.949 GB, free: 89.18 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/6.114, allocations: 0 / 2.949 GB, free: 89.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/6.114, allocations: 39.94 kB / 2.949 GB, free: 89.14 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/6.114, allocations: 30 kB / 2.949 GB, free: 89.12 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/6.116, allocations: 0.9059 MB / 2.95 GB, free: 88.21 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.004493/6.12, allocations: 3.604 MB / 2.953 GB, free: 84.36 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/6.121, allocations: 0.7065 MB / 2.954 GB, free: 83.64 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/6.122, allocations: 440.3 kB / 2.954 GB, free: 83.21 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/6.122, allocations: 210.7 kB / 2.955 GB, free: 82.96 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/6.122, allocations: 47.12 kB / 2.955 GB, free: 82.91 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 4.939e-06/6.122, allocations: 3.984 kB / 2.955 GB, free: 82.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.001796/6.124, allocations: 0.8311 MB / 2.955 GB, free: 82.06 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/6.124, allocations: 63.92 kB / 2.956 GB, free: 81.99 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/6.124, allocations: 0.6403 MB / 2.956 GB, free: 81.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/6.124, allocations: 37.7 kB / 2.956 GB, free: 81.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/6.125, allocations: 424 kB / 2.957 GB, free: 80.88 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/6.125, allocations: 216.8 kB / 2.957 GB, free: 80.66 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/6.125, allocations: 12 kB / 2.957 GB, free: 80.65 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001217/6.125, allocations: 386.8 kB / 2.957 GB, free: 80.26 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/6.125, allocations: 297.5 kB / 2.957 GB, free: 79.97 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/6.126, allocations: 400 kB / 2.958 GB, free: 79.55 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/6.126, allocations: 367 kB / 2.958 GB, free: 79.19 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/6.126, allocations: 0 / 2.958 GB, free: 79.19 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001035/6.127, allocations: 0.8182 MB / 2.959 GB, free: 78.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/6.127, allocations: 451.3 kB / 2.959 GB, free: 77.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/6.127, allocations: 0 / 2.959 GB, free: 77.89 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/6.128, allocations: 4 kB / 2.959 GB, free: 77.89 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/6.128, allocations: 143.8 kB / 2.96 GB, free: 77.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003043/6.128, allocations: 0.5898 MB / 2.96 GB, free: 77.13 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/6.129, allocations: 151.3 kB / 2.96 GB, free: 76.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/6.129, allocations: 39.91 kB / 2.96 GB, free: 76.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/6.13, allocations: 4 kB / 2.96 GB, free: 76.94 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008966/6.13, allocations: 0.7276 MB / 2.961 GB, free: 76.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/6.13, allocations: 8 kB / 2.961 GB, free: 76.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/6.13, allocations: 4 kB / 2.961 GB, free: 76.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/6.131, allocations: 127.8 kB / 2.961 GB, free: 76.08 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/6.131, allocations: 4.125 kB / 2.961 GB, free: 76.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/6.132, allocations: 143.3 kB / 2.961 GB, free: 75.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/6.132, allocations: 35.98 kB / 2.961 GB, free: 75.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.000176/6.132, allocations: 136.8 kB / 2.961 GB, free: 75.76 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/6.132, allocations: 79.06 kB / 2.962 GB, free: 75.68 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/6.133, allocations: 0.8474 MB / 2.962 GB, free: 74.82 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/6.133, allocations: 11.94 kB / 2.962 GB, free: 74.81 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/6.133, allocations: 0 / 2.962 GB, free: 74.81 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008712/6.134, allocations: 0.7958 MB / 2.963 GB, free: 73.98 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/6.138, allocations: 2.522 MB / 2.966 GB, free: 71.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/6.138, allocations: 4 kB / 2.966 GB, free: 71.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/6.139, allocations: 139.7 kB / 2.966 GB, free: 71.17 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/6.139, allocations: 44.83 kB / 2.966 GB, free: 71.12 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/6.139, allocations: 28.42 kB / 2.966 GB, free: 71.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/6.139, allocations: 1.181 MB / 2.967 GB, free: 69.87 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.139, allocations: 4 kB / 2.967 GB, free: 69.86 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/6.141, allocations: 1.495 MB / 2.968 GB, free: 68.22 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/6.142, allocations: 263.9 kB / 2.969 GB, free: 67.95 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/6.142, allocations: 23.98 kB / 2.969 GB, free: 67.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/6.143, allocations: 75.81 kB / 2.969 GB, free: 67.85 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/6.143, allocations: 56.33 kB / 2.969 GB, free: 67.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/6.143, allocations: 31.98 kB / 2.969 GB, free: 67.76 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006378/6.143, allocations: 0.5107 MB / 2.969 GB, free: 67.25 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/6.143, allocations: 0 / 2.969 GB, free: 67.25 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002933/6.146, allocations: 0.8344 MB / 2.97 GB, free: 66.42 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.003326/6.15, allocations: 1.268 MB / 2.971 GB, free: 65.16 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001834/6.152, allocations: 1.173 MB / 2.973 GB, free: 63.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/6.152, allocations: 0 / 2.973 GB, free: 63.98 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/6.152, allocations: 407.5 kB / 2.973 GB, free: 63.59 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/6.155, allocations: 0.5164 MB / 2.973 GB, free: 63.08 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/6.158, allocations: 2.004 MB / 2.975 GB, free: 60.99 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/6.159, allocations: 1.117 MB / 2.977 GB, free: 59.84 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001709/6.161, allocations: 0.5452 MB / 2.977 GB, free: 59.29 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/6.161, allocations: 67.42 kB / 2.977 GB, free: 59.23 MB / 1.167 GB Notification: Performance of SimCode: time 1.673e-06/6.161, allocations: 4 kB / 2.977 GB, free: 59.22 MB / 1.167 GB Notification: Performance of Templates: time 0.05045/6.212, allocations: 37.44 MB / 3.014 GB, free: 21.91 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches