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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0011/0.001104, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.492/1.492, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.506/2.506, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7887, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.2665/1.055, allocations: 180.4 MB / 1.132 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01143/1.067, allocations: 6.77 MB / 1.138 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/1.068, allocations: 23.81 kB / 1.138 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/1.069, allocations: 294.4 kB / 1.139 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/1.076, allocations: 1.866 MB / 1.141 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/1.078, allocations: 0.6266 MB / 1.141 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003449/1.081, allocations: 2.396 MB / 1.144 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/1.083, allocations: 0.7356 MB / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/1.086, allocations: 1.035 MB / 1.145 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/1.088, allocations: 0.6458 MB / 1.146 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/1.089, allocations: 32 kB / 1.146 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007019/1.096, allocations: 2.982 MB / 1.149 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006774/1.096, allocations: 482.7 kB / 1.149 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/1.098, allocations: 0.5771 MB / 1.15 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/1.101, allocations: 2.155 MB / 1.152 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.101, allocations: 0 / 1.152 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.024e-06/1.101, allocations: 0 / 1.152 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.04e-05/1.102, allocations: 0 / 1.152 GB, free: 5.711 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.003058/1.105, allocations: 1.279 MB / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.105, allocations: 12.03 kB / 1.153 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/1.108, allocations: 0.4903 MB / 1.154 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.11, allocations: 0.9602 MB / 1.155 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/1.11, allocations: 62 kB / 1.155 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/1.11, allocations: 88 kB / 1.155 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.112, allocations: 1.069 MB / 1.156 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.112, allocations: 0 / 1.156 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.113, allocations: 35.94 kB / 1.156 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/1.113, allocations: 38 kB / 1.156 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/1.114, allocations: 0.9838 MB / 1.157 GB, free: 0.5938 MB / 0.9044 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.005696/1.12, allocations: 3.619 MB / 1.16 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.121, allocations: 0.7227 MB / 1.161 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006684/1.122, allocations: 468.1 kB / 1.162 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.574e-05/1.122, allocations: 28.53 kB / 1.162 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.122, allocations: 47.06 kB / 1.162 GB, free: 11.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 3.346e-06/1.122, allocations: 0 / 1.162 GB, free: 11.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=62): time 0.002281/1.124, allocations: 1.191 MB / 1.163 GB, free: 10.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.124, allocations: 63.95 kB / 1.163 GB, free: 10.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.125, allocations: 0.7386 MB / 1.164 GB, free: 9.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.839e-05/1.126, allocations: 37.7 kB / 1.164 GB, free: 9.367 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/1.126, allocations: 404.2 kB / 1.164 GB, free: 8.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/1.126, allocations: 224.7 kB / 1.164 GB, free: 8.742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.126, allocations: 57.69 kB / 1.164 GB, free: 8.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.126, allocations: 390.7 kB / 1.165 GB, free: 8.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/1.127, allocations: 337.1 kB / 1.165 GB, free: 7.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/1.128, allocations: 436.1 kB / 1.165 GB, free: 7.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.129, allocations: 0.7342 MB / 1.166 GB, free: 6.766 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.129, allocations: 4 kB / 1.166 GB, free: 6.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001381/1.13, allocations: 0.8868 MB / 1.167 GB, free: 5.867 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/1.13, allocations: 114.3 kB / 1.167 GB, free: 5.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.13, allocations: 7.938 kB / 1.167 GB, free: 5.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.13, allocations: 0 / 1.167 GB, free: 5.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/1.131, allocations: 151.8 kB / 1.167 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/1.131, allocations: 0.5899 MB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/1.132, allocations: 147.3 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/1.132, allocations: 31.98 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.132, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001149/1.134, allocations: 0.7962 MB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/1.134, allocations: 96 / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/1.134, allocations: 11.94 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/1.134, allocations: 131.8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.134, allocations: 4 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/1.135, allocations: 143.3 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/1.135, allocations: 24 kB / 1.169 GB, free: 3.691 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.0006448/1.136, allocations: 416.8 kB / 1.169 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.136, allocations: 82.97 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.137, allocations: 0.886 MB / 1.17 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.137, allocations: 4 kB / 1.17 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.138, allocations: 0 / 1.17 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/1.139, allocations: 0.8189 MB / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/1.143, allocations: 2.553 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.143, allocations: 4 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/1.143, allocations: 136.2 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/1.143, allocations: 44.84 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/1.144, allocations: 23.98 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007077/1.144, allocations: 1.185 MB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.144, allocations: 4 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/1.146, allocations: 1.361 MB / 1.176 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/1.147, allocations: 263.9 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/1.147, allocations: 20 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/1.148, allocations: 83.75 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/1.148, allocations: 64.17 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/1.148, allocations: 31.98 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007025/1.149, allocations: 0.5263 MB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.149, allocations: 4 kB / 1.177 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002162/1.151, allocations: 0.7173 MB / 1.178 GB, free: 10.15 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.002162/1.153, allocations: 0.674 MB / 1.179 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.155, allocations: 1.221 MB / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.155, allocations: 0 / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/1.156, allocations: 423 kB / 1.18 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.159, allocations: 0.5265 MB / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/1.164, allocations: 2.893 MB / 1.184 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.165, allocations: 1.096 MB / 1.185 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/1.165, allocations: 83.42 kB / 1.185 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of SimCode: time 1.944e-06/1.165, allocations: 0 / 1.185 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of Templates: time 0.03891/1.204, allocations: 23.99 MB / 1.208 GB, free: 11.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches