Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_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.001067/0.001067, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.009011/0.009011, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005878/0.0005879, allocations: 12 kB / 0.8728 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6603, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1965/0.8568, allocations: 180.4 MB / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.868, allocations: 6.78 MB / 1.206 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.8695, allocations: 23.81 kB / 1.206 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.8709, allocations: 294.4 kB / 1.206 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.8773, allocations: 1.878 MB / 1.208 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.8798, allocations: 0.6074 MB / 1.209 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.8834, allocations: 2.399 MB / 1.211 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.8848, allocations: 0.7317 MB / 1.212 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.8873, allocations: 1.028 MB / 1.213 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.89, allocations: 0.6497 MB / 1.213 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.8902, allocations: 32 kB / 1.213 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006478/0.8967, allocations: 2.986 MB / 1.216 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.8974, allocations: 474.8 kB / 1.217 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.8987, allocations: 0.5771 MB / 1.217 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005814/0.9046, allocations: 2.933 MB / 1.22 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9046, allocations: 4 kB / 1.22 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9046, allocations: 3.938 kB / 1.22 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.485e-05/0.9047, allocations: 0 / 1.22 GB, free: 5.441 MB / 0.9669 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.00283/0.9075, allocations: 1.278 MB / 1.221 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.9076, allocations: 8.031 kB / 1.221 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.911, allocations: 0.4903 MB / 1.222 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.9134, allocations: 0.9563 MB / 1.223 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.9135, allocations: 66 kB / 1.223 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.9138, allocations: 87.98 kB / 1.223 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.9159, allocations: 1.065 MB / 1.224 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.916, allocations: 0 / 1.224 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.9161, allocations: 39.94 kB / 1.224 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/0.9162, allocations: 37.98 kB / 1.224 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.9178, allocations: 0.9954 MB / 1.225 GB, free: 328 kB / 0.9669 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.005292/0.9231, allocations: 3.604 MB / 1.228 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.9242, allocations: 0.7355 MB / 1.229 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.9248, allocations: 459.1 kB / 1.23 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.9249, allocations: 20.53 kB / 1.23 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.9249, allocations: 47.06 kB / 1.23 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=62): time 3.406e-06/0.9249, allocations: 0 / 1.23 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62): time 0.002075/0.927, allocations: 1.199 MB / 1.231 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.9271, allocations: 59.97 kB / 1.231 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/0.928, allocations: 0.7308 MB / 1.232 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.9281, allocations: 45.64 kB / 1.232 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.9284, allocations: 408.1 kB / 1.232 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.9287, allocations: 220.8 kB / 1.232 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.9288, allocations: 61.62 kB / 1.232 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.929, allocations: 390.8 kB / 1.233 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.9294, allocations: 337.1 kB / 1.233 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.93, allocations: 428.2 kB / 1.233 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.931, allocations: 0.742 MB / 1.234 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.931, allocations: 0 / 1.234 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001347/0.9324, allocations: 0.8868 MB / 1.235 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.9325, allocations: 118.3 kB / 1.235 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.9325, allocations: 7.938 kB / 1.235 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.9325, allocations: 4 kB / 1.235 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.9334, allocations: 143.8 kB / 1.235 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004113/0.9338, allocations: 0.5937 MB / 1.236 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/0.9348, allocations: 139.4 kB / 1.236 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.9349, allocations: 35.97 kB / 1.236 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.9349, allocations: 5.875 kB / 1.236 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/0.9361, allocations: 0.8001 MB / 1.237 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.9361, allocations: 0 / 1.237 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.9361, allocations: 7.938 kB / 1.237 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.9366, allocations: 131.8 kB / 1.237 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9366, allocations: 4 kB / 1.237 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.9377, allocations: 139.3 kB / 1.237 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.9378, allocations: 39.98 kB / 1.237 GB, free: 3.426 MB / 0.9825 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.0007139/0.9385, allocations: 414.4 kB / 1.238 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.9387, allocations: 75.06 kB / 1.238 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.9404, allocations: 0.8821 MB / 1.238 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.9404, allocations: 8 kB / 1.238 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9405, allocations: 0 / 1.238 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/0.9418, allocations: 0.8227 MB / 1.239 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.9463, allocations: 2.553 MB / 1.242 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.9464, allocations: 4 kB / 1.242 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.947, allocations: 135.8 kB / 1.242 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.9472, allocations: 44.83 kB / 1.242 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.9473, allocations: 27.98 kB / 1.242 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008298/0.9481, allocations: 1.178 MB / 1.243 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.9482, allocations: 7.938 kB / 1.243 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.9502, allocations: 1.361 MB / 1.244 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.9507, allocations: 256 kB / 1.245 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.9509, allocations: 27.98 kB / 1.245 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008899/0.9518, allocations: 79.78 kB / 1.245 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.9519, allocations: 52.25 kB / 1.245 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.952, allocations: 31.98 kB / 1.245 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00108/0.9531, allocations: 0.5263 MB / 1.245 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.9531, allocations: 0 / 1.245 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002435/0.9556, allocations: 0.7212 MB / 1.246 GB, free: 9.91 MB / 0.9981 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.002549/0.9581, allocations: 0.6764 MB / 1.247 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.9604, allocations: 1.225 MB / 1.248 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9605, allocations: 384 / 1.248 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.9612, allocations: 422.1 kB / 1.248 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.9643, allocations: 0.5269 MB / 1.249 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.9698, allocations: 2.814 MB / 1.252 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.9711, allocations: 1.096 MB / 1.253 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001522/0.9726, allocations: 438.5 kB / 1.253 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.9729, allocations: 83.36 kB / 1.253 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/0.9729, allocations: 0 / 1.253 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of Templates: time 0.6103/1.583, allocations: 22.43 MB / 1.275 GB, free: 224.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches