Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_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.001061/0.001061, allocations: 91.84 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.009201/0.009201, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 9.188 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.1927/0.5273, allocations: 180.4 MB / 1.235 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009384/0.5368, allocations: 6.781 MB / 1.241 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.5378, allocations: 23.81 kB / 1.241 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.5388, allocations: 298.3 kB / 1.242 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004911/0.5437, allocations: 1.868 MB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.5455, allocations: 0.613 MB / 1.244 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002666/0.5482, allocations: 2.401 MB / 1.247 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.5491, allocations: 0.7362 MB / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.5512, allocations: 1.031 MB / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.5533, allocations: 0.6508 MB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.5534, allocations: 32 kB / 1.249 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6821/1.235, allocations: 2.983 MB / 1.252 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009163/1.236, allocations: 480.5 kB / 1.252 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001771/1.238, allocations: 0.5784 MB / 1.253 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006502/1.245, allocations: 2.925 MB / 1.256 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.245, allocations: 0 / 1.256 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/1.245, allocations: 0 / 1.256 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.284e-05/1.245, allocations: 0 / 1.256 GB, free: 6.535 MB / 0.9981 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.00267/1.248, allocations: 1.275 MB / 1.257 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.248, allocations: 10.59 kB / 1.257 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/1.251, allocations: 0.4906 MB / 1.257 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/1.253, allocations: 0.9614 MB / 1.258 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/1.253, allocations: 64.91 kB / 1.258 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/1.253, allocations: 88.75 kB / 1.259 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/1.255, allocations: 1.067 MB / 1.26 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.255, allocations: 0 / 1.26 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/1.255, allocations: 38.25 kB / 1.26 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/1.255, allocations: 37.08 kB / 1.26 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.256, allocations: 0.9906 MB / 1.261 GB, free: 5.402 MB / 0.9981 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.005186/1.262, allocations: 3.609 MB / 1.264 GB, free: 19.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/1.263, allocations: 0.7242 MB / 1.265 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/1.263, allocations: 461 kB / 1.265 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/1.263, allocations: 20.62 kB / 1.265 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/1.263, allocations: 42.59 kB / 1.265 GB, free: 19.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.465e-06/1.263, allocations: 0 / 1.265 GB, free: 19.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002461/1.266, allocations: 1.201 MB / 1.267 GB, free: 19.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.266, allocations: 63.42 kB / 1.267 GB, free: 19.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.267, allocations: 0.7333 MB / 1.267 GB, free: 19.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/1.267, allocations: 41.64 kB / 1.267 GB, free: 19.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/1.268, allocations: 402.5 kB / 1.268 GB, free: 19.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/1.268, allocations: 228.1 kB / 1.268 GB, free: 19.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.268, allocations: 61.05 kB / 1.268 GB, free: 19.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.268, allocations: 391.5 kB / 1.268 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/1.269, allocations: 334.9 kB / 1.269 GB, free: 18.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/1.269, allocations: 434.6 kB / 1.269 GB, free: 18.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.27, allocations: 0.7387 MB / 1.27 GB, free: 18.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.271, allocations: 1.531 kB / 1.27 GB, free: 18.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00152/1.272, allocations: 0.8914 MB / 1.271 GB, free: 18.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/1.272, allocations: 121.1 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.272, allocations: 1.031 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/1.272, allocations: 4.375 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/1.273, allocations: 141.7 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000396/1.273, allocations: 0.5913 MB / 1.272 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.274, allocations: 147.2 kB / 1.272 GB, free: 17.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/1.275, allocations: 29.75 kB / 1.272 GB, free: 17.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.275, allocations: 3.75 kB / 1.272 GB, free: 17.89 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/1.276, allocations: 0.7942 MB / 1.272 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.276, allocations: 8.172 kB / 1.272 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/1.276, allocations: 3.531 kB / 1.272 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/1.277, allocations: 130.3 kB / 1.273 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.277, allocations: 4.031 kB / 1.273 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.278, allocations: 146.1 kB / 1.273 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/1.278, allocations: 30.36 kB / 1.273 GB, free: 17.83 MB / 1.014 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.0006602/1.279, allocations: 414.6 kB / 1.273 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.279, allocations: 83.77 kB / 1.273 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/1.281, allocations: 0.8762 MB / 1.274 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/1.281, allocations: 6.75 kB / 1.274 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.281, allocations: 3.609 kB / 1.274 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/1.282, allocations: 0.8217 MB / 1.275 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/1.286, allocations: 2.548 MB / 1.277 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.286, allocations: 3.656 kB / 1.277 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/1.287, allocations: 140 kB / 1.278 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/1.287, allocations: 46.2 kB / 1.278 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/1.287, allocations: 27.7 kB / 1.278 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006514/1.288, allocations: 1.183 MB / 1.279 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.288, allocations: 7.734 kB / 1.279 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/1.29, allocations: 1.361 MB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.291, allocations: 262.7 kB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/1.291, allocations: 23.67 kB / 1.28 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/1.292, allocations: 79.14 kB / 1.28 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/1.292, allocations: 50.66 kB / 1.281 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/1.292, allocations: 33.45 kB / 1.281 GB, free: 15.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007569/1.293, allocations: 0.5258 MB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.293, allocations: 4 kB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002458/1.295, allocations: 0.724 MB / 1.282 GB, free: 14.9 MB / 1.014 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.002526/1.298, allocations: 0.6722 MB / 1.282 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002312/1.3, allocations: 1.227 MB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.3, allocations: 1.188 kB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/1.301, allocations: 416.1 kB / 1.284 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/1.305, allocations: 0.5326 MB / 1.285 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/1.309, allocations: 2.811 MB / 1.287 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.31, allocations: 1.102 MB / 1.288 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001558/1.312, allocations: 438.8 kB / 1.289 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/1.312, allocations: 76.09 kB / 1.289 GB, free: 12.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.203e-06/1.312, allocations: 0 / 1.289 GB, free: 12.4 MB / 1.014 GB Notification: Performance of Templates: time 0.03744/1.349, allocations: 22.44 MB / 1.311 GB, free: 9.977 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches