Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 207.5 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 74.34 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.2148/0.5942, allocations: 163.5 MB / 1.487 GB, free: 12.78 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.605, allocations: 6.275 MB / 1.493 GB, free: 6.488 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6061, allocations: 35.69 kB / 1.493 GB, free: 6.453 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.6073, allocations: 329.9 kB / 1.493 GB, free: 6.129 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006203/0.6135, allocations: 2.114 MB / 1.495 GB, free: 4.012 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.6156, allocations: 0.699 MB / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.6186, allocations: 1.888 MB / 1.498 GB, free: 1.418 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6197, allocations: 0.5854 MB / 1.498 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/0.6253, allocations: 2.61 MB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.6262, allocations: 0.5956 MB / 1.502 GB, free: 13.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.6263, allocations: 80 kB / 1.502 GB, free: 13.53 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.6309, allocations: 2.101 MB / 1.504 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.6324, allocations: 0.6099 MB / 1.504 GB, free: 10.83 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007662/0.6332, allocations: 0.5331 MB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/0.6381, allocations: 2.781 MB / 1.508 GB, free: 7.508 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6381, allocations: 0 / 1.508 GB, free: 7.508 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6381, allocations: 0 / 1.508 GB, free: 7.508 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.6381, allocations: 0 / 1.508 GB, free: 7.508 MB / 1.201 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.002751/0.6409, allocations: 1.465 MB / 1.509 GB, free: 6.004 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6409, allocations: 12.03 kB / 1.509 GB, free: 5.992 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.6428, allocations: 378.9 kB / 1.509 GB, free: 5.621 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.6446, allocations: 0.8575 MB / 1.51 GB, free: 4.738 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.6447, allocations: 66 kB / 1.51 GB, free: 4.672 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.6448, allocations: 88 kB / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.6467, allocations: 1.274 MB / 1.512 GB, free: 3.254 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.6468, allocations: 3.984 kB / 1.512 GB, free: 3.25 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.6469, allocations: 39.94 kB / 1.512 GB, free: 3.211 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.6469, allocations: 37.98 kB / 1.512 GB, free: 3.176 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.6484, allocations: 0.9877 MB / 1.513 GB, free: 2.188 MB / 1.201 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.00499/0.6534, allocations: 2.36 MB / 1.515 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.6547, allocations: 0.6963 MB / 1.516 GB, free: 15.08 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.6553, allocations: 442.6 kB / 1.516 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.723e-05/0.6554, allocations: 20.48 kB / 1.516 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6554, allocations: 39.06 kB / 1.516 GB, free: 14.58 MB / 1.217 GB Notification: Performance of pre-optimization done (n=62): time 3.066e-06/0.6554, allocations: 0 / 1.516 GB, free: 14.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=62): time 0.002503/0.6579, allocations: 1.153 MB / 1.517 GB, free: 13.42 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.6579, allocations: 59.91 kB / 1.517 GB, free: 13.35 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/0.6587, allocations: 0.5576 MB / 1.518 GB, free: 12.78 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.6588, allocations: 41.7 kB / 1.518 GB, free: 12.73 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.6591, allocations: 424.6 kB / 1.518 GB, free: 12.31 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.6594, allocations: 230 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.6596, allocations: 118.3 kB / 1.519 GB, free: 11.96 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.6599, allocations: 382.7 kB / 1.519 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.6604, allocations: 343.2 kB / 1.519 GB, free: 11.24 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.661, allocations: 0.5185 MB / 1.52 GB, free: 10.68 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6621, allocations: 0.7496 MB / 1.52 GB, free: 9.914 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6621, allocations: 0 / 1.52 GB, free: 9.914 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001474/0.6636, allocations: 0.8833 MB / 1.521 GB, free: 9.023 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.6636, allocations: 4 kB / 1.521 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6636, allocations: 0 / 1.521 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.6636, allocations: 4 kB / 1.521 GB, free: 9.016 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.6644, allocations: 147.8 kB / 1.522 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004532/0.6649, allocations: 0.5977 MB / 1.522 GB, free: 8.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.6655, allocations: 55.67 kB / 1.522 GB, free: 8.195 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.6656, allocations: 31.98 kB / 1.522 GB, free: 8.164 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009888/0.6666, allocations: 0.6066 MB / 1.523 GB, free: 7.555 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006501/0.6672, allocations: 0.5302 MB / 1.523 GB, free: 6.984 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001043/0.6683, allocations: 0.734 MB / 1.524 GB, free: 6.238 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.6683, allocations: 0 / 1.524 GB, free: 6.238 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001389/0.6697, allocations: 0.8834 MB / 1.525 GB, free: 5.348 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6697, allocations: 8 kB / 1.525 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.6697, allocations: 0 / 1.525 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.6697, allocations: 7.938 kB / 1.525 GB, free: 5.332 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.6703, allocations: 131.8 kB / 1.525 GB, free: 5.203 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.6703, allocations: 4 kB / 1.525 GB, free: 5.199 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.6709, allocations: 51.7 kB / 1.525 GB, free: 5.148 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.6709, allocations: 28 kB / 1.525 GB, free: 5.121 MB / 1.217 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.0002634/0.6712, allocations: 220.2 kB / 1.525 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6713, allocations: 71.53 kB / 1.525 GB, free: 4.828 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.6728, allocations: 0.8638 MB / 1.526 GB, free: 3.949 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.674, allocations: 0.8288 MB / 1.527 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.674, allocations: 4 kB / 1.527 GB, free: 3.086 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.6744, allocations: 159.4 kB / 1.527 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6745, allocations: 16 kB / 1.527 GB, free: 2.914 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.675, allocations: 31.97 kB / 1.527 GB, free: 2.883 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.6751, allocations: 44.52 kB / 1.527 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001775/0.6769, allocations: 0.9516 MB / 1.528 GB, free: 1.875 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001853/0.6787, allocations: 1.368 MB / 1.53 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005043/0.6793, allocations: 361 kB / 1.53 GB, free: 140 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005606/0.6798, allocations: 406.8 kB / 1.53 GB, free: 15.74 MB / 1.232 GB Notification: Performance of Backend: time 5.61e-07/0.6798, allocations: 0 / 1.53 GB, free: 15.74 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004769/0.6846, allocations: 1.675 MB / 1.532 GB, free: 14.07 MB / 1.232 GB Notification: Performance of SimCode: time 0.004715/0.6893, allocations: 2.705 MB / 1.535 GB, free: 11.32 MB / 1.232 GB Notification: Performance of Templates: time 0.04794/0.7372, allocations: 29.19 MB / 1.563 GB, free: 14.4 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.42327802899672]