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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001147/0.001147, allocations: 98.88 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.001191/0.001191, allocations: 181.4 kB / 16.92 MB, free: 6.711 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7128 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 11.98 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7523, allocations: 153.8 MB / 1.024 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1981/0.9505, allocations: 180.4 MB / 1.2 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.9613, allocations: 6.774 MB / 1.206 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.9624, allocations: 23.81 kB / 1.206 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.9636, allocations: 294.4 kB / 1.207 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005424/0.969, allocations: 1.874 MB / 1.209 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.971, allocations: 0.6166 MB / 1.209 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.9742, allocations: 2.391 MB / 1.212 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.9755, allocations: 0.7317 MB / 1.212 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.978, allocations: 1.031 MB / 1.213 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.9806, allocations: 0.6474 MB / 1.214 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.9808, allocations: 32 kB / 1.214 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006065/0.9869, allocations: 2.985 MB / 1.217 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006579/0.9876, allocations: 478.8 kB / 1.217 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.9888, allocations: 0.581 MB / 1.218 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.9925, allocations: 2.163 MB / 1.22 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9925, allocations: 3.938 kB / 1.22 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9926, allocations: 4 kB / 1.22 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.224e-05/0.9926, allocations: 0 / 1.22 GB, free: 6.328 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.003199/0.9958, allocations: 1.274 MB / 1.221 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9959, allocations: 12.03 kB / 1.221 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/0.9993, allocations: 0.4903 MB / 1.222 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/1.001, allocations: 0.9602 MB / 1.223 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/1.001, allocations: 66 kB / 1.223 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/1.002, allocations: 84 kB / 1.223 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/1.004, allocations: 1.061 MB / 1.224 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.004, allocations: 0 / 1.224 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/1.004, allocations: 39.88 kB / 1.224 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/1.004, allocations: 41.98 kB / 1.224 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/1.006, allocations: 0.9877 MB / 1.225 GB, free: 1.215 MB / 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.005561/1.011, allocations: 3.608 MB / 1.228 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.012, allocations: 0.7321 MB / 1.229 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/1.013, allocations: 459.1 kB / 1.23 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.576e-05/1.013, allocations: 32.5 kB / 1.23 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.013, allocations: 39.12 kB / 1.23 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=62): time 2.424e-06/1.013, allocations: 0 / 1.23 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62): time 0.002204/1.015, allocations: 1.199 MB / 1.231 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.016, allocations: 59.97 kB / 1.231 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/1.017, allocations: 0.7386 MB / 1.232 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/1.017, allocations: 37.7 kB / 1.232 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/1.017, allocations: 404.1 kB / 1.232 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.017, allocations: 224.8 kB / 1.232 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.017, allocations: 57.69 kB / 1.232 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.018, allocations: 386.8 kB / 1.233 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/1.018, allocations: 341.1 kB / 1.233 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/1.019, allocations: 432.2 kB / 1.233 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.02, allocations: 0.742 MB / 1.234 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.02, allocations: 0 / 1.234 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001375/1.021, allocations: 0.8868 MB / 1.235 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/1.021, allocations: 114.2 kB / 1.235 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.021, allocations: 11.97 kB / 1.235 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.021, allocations: 4 kB / 1.235 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/1.022, allocations: 139.8 kB / 1.235 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004196/1.022, allocations: 0.6015 MB / 1.236 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/1.023, allocations: 143.4 kB / 1.236 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/1.024, allocations: 31.94 kB / 1.236 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.024, allocations: 6.188 kB / 1.236 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/1.025, allocations: 0.7923 MB / 1.237 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.025, allocations: 0 / 1.237 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/1.025, allocations: 11.88 kB / 1.237 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/1.025, allocations: 127.9 kB / 1.237 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.025, allocations: 7.938 kB / 1.237 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/1.026, allocations: 147.2 kB / 1.237 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/1.026, allocations: 24 kB / 1.237 GB, free: 4.324 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.0005948/1.027, allocations: 418.5 kB / 1.237 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/1.027, allocations: 83.06 kB / 1.238 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/1.029, allocations: 0.8743 MB / 1.238 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.029, allocations: 12 kB / 1.238 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.029, allocations: 0 / 1.238 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.03, allocations: 0.8266 MB / 1.239 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/1.034, allocations: 2.549 MB / 1.242 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.034, allocations: 4 kB / 1.242 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.034, allocations: 135.8 kB / 1.242 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/1.035, allocations: 44.84 kB / 1.242 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/1.035, allocations: 23.98 kB / 1.242 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007627/1.035, allocations: 1.181 MB / 1.243 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.035, allocations: 7.938 kB / 1.243 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.037, allocations: 1.361 MB / 1.244 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/1.038, allocations: 259.9 kB / 1.245 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.038, allocations: 16 kB / 1.245 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/1.039, allocations: 87.77 kB / 1.245 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/1.039, allocations: 48.27 kB / 1.245 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/1.039, allocations: 35.97 kB / 1.245 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006959/1.04, allocations: 0.5302 MB / 1.245 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.04, allocations: 0 / 1.245 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002022/1.042, allocations: 0.7173 MB / 1.246 GB, free: 10.8 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.002124/1.044, allocations: 0.674 MB / 1.247 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002224/1.046, allocations: 1.221 MB / 1.248 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.046, allocations: 4 kB / 1.248 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006851/1.047, allocations: 418.5 kB / 1.248 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.05, allocations: 0.5202 MB / 1.249 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/1.054, allocations: 2.897 MB / 1.252 GB, free: 5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/1.055, allocations: 1.104 MB / 1.253 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/1.055, allocations: 79.42 kB / 1.253 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.055, allocations: 0 / 1.253 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of Templates: time 0.5479/1.603, allocations: 23.99 MB / 1.276 GB, free: 222 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches