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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009435, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006252/0.006252, allocations: 174.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7649, allocations: 142.4 MB / 0.955 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1945/0.9595, allocations: 180.4 MB / 1.131 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009662/0.9692, allocations: 6.763 MB / 1.138 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.9703, allocations: 27.81 kB / 1.138 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.9715, allocations: 302.4 kB / 1.138 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.9774, allocations: 1.861 MB / 1.14 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.9793, allocations: 0.6248 MB / 1.141 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.9822, allocations: 2.399 MB / 1.143 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.9832, allocations: 0.7279 MB / 1.144 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.9852, allocations: 1.035 MB / 1.145 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.9871, allocations: 0.6505 MB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.9872, allocations: 35.98 kB / 1.145 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00526/0.9925, allocations: 2.985 MB / 1.148 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.9929, allocations: 482.7 kB / 1.149 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.9935, allocations: 0.5694 MB / 1.149 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.9973, allocations: 2.929 MB / 1.152 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9973, allocations: 0 / 1.152 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9973, allocations: 0 / 1.152 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.9974, allocations: 0 / 1.152 GB, free: 4.965 MB / 0.9044 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.002177/0.9995, allocations: 1.278 MB / 1.153 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9996, allocations: 11.97 kB / 1.153 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/1.003, allocations: 0.4942 MB / 1.154 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/1.004, allocations: 0.9524 MB / 1.155 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/1.004, allocations: 66 kB / 1.155 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.005, allocations: 84 kB / 1.155 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/1.006, allocations: 1.069 MB / 1.156 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.006, allocations: 0 / 1.156 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/1.006, allocations: 35.94 kB / 1.156 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/1.007, allocations: 49.88 kB / 1.156 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/1.008, allocations: 0.9878 MB / 1.157 GB, free: 15.83 MB / 0.92 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.004942/1.013, allocations: 3.6 MB / 1.16 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.014, allocations: 0.7256 MB / 1.161 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/1.015, allocations: 474.7 kB / 1.162 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/1.015, allocations: 20.55 kB / 1.162 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.015, allocations: 39.12 kB / 1.162 GB, free: 10.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/1.015, allocations: 0 / 1.162 GB, free: 10.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=62): time 0.002204/1.017, allocations: 1.199 MB / 1.163 GB, free: 9.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.017, allocations: 71.89 kB / 1.163 GB, free: 9.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.018, allocations: 0.7346 MB / 1.164 GB, free: 8.664 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/1.019, allocations: 37.7 kB / 1.164 GB, free: 8.621 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/1.019, allocations: 408.2 kB / 1.164 GB, free: 8.215 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/1.019, allocations: 228.7 kB / 1.164 GB, free: 7.988 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/1.019, allocations: 57.69 kB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.019, allocations: 390.8 kB / 1.165 GB, free: 7.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/1.02, allocations: 333.1 kB / 1.165 GB, free: 7.207 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/1.02, allocations: 432.1 kB / 1.165 GB, free: 6.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/1.021, allocations: 0.7381 MB / 1.166 GB, free: 6.016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.021, allocations: 0 / 1.166 GB, free: 6.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00123/1.023, allocations: 0.8868 MB / 1.167 GB, free: 5.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/1.023, allocations: 118.3 kB / 1.167 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.023, allocations: 3.938 kB / 1.167 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.023, allocations: 4 kB / 1.167 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/1.024, allocations: 151.8 kB / 1.167 GB, free: 4.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004396/1.024, allocations: 0.5938 MB / 1.168 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009808/1.025, allocations: 147.3 kB / 1.168 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/1.025, allocations: 27.98 kB / 1.168 GB, free: 4.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/1.025, allocations: 4 kB / 1.168 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/1.026, allocations: 0.7884 MB / 1.169 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.026, allocations: 0 / 1.169 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/1.026, allocations: 7.938 kB / 1.169 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/1.027, allocations: 135.9 kB / 1.169 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.027, allocations: 8 kB / 1.169 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/1.027, allocations: 139.3 kB / 1.169 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/1.028, allocations: 28 kB / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005005/1.028, allocations: 416.8 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/1.028, allocations: 82.97 kB / 1.17 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.03, allocations: 0.8743 MB / 1.17 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.03, allocations: 8 kB / 1.17 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.03, allocations: 3.938 kB / 1.17 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/1.031, allocations: 0.8227 MB / 1.171 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/1.034, allocations: 2.549 MB / 1.174 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.034, allocations: 4 kB / 1.174 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.035, allocations: 135.8 kB / 1.174 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/1.035, allocations: 45.28 kB / 1.174 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/1.035, allocations: 27.98 kB / 1.174 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/1.036, allocations: 1.177 MB / 1.175 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.036, allocations: 11.92 kB / 1.175 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.037, allocations: 1.361 MB / 1.176 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/1.038, allocations: 259.9 kB / 1.177 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.038, allocations: 24 kB / 1.177 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/1.039, allocations: 83.77 kB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/1.039, allocations: 48.25 kB / 1.177 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/1.039, allocations: 31.98 kB / 1.177 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006234/1.04, allocations: 0.5341 MB / 1.177 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.04, allocations: 0 / 1.177 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001861/1.041, allocations: 0.7212 MB / 1.178 GB, free: 9.414 MB / 0.9356 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001751/1.043, allocations: 0.6757 MB / 1.179 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001898/1.045, allocations: 1.221 MB / 1.18 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.045, allocations: 3.938 kB / 1.18 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/1.046, allocations: 414.2 kB / 1.18 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.049, allocations: 0.5313 MB / 1.181 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/1.052, allocations: 2.817 MB / 1.184 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/1.053, allocations: 1.104 MB / 1.185 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001107/1.054, allocations: 430.7 kB / 1.185 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/1.054, allocations: 75.42 kB / 1.185 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.054, allocations: 0 / 1.185 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of Templates: time 0.03699/1.091, allocations: 22.45 MB / 1.207 GB, free: 11.81 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches