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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008391/0.0008387, allocations: 92.31 kB / 16.02 MB, free: 80 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.001091/0.001091, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 11.84 kB / 0.9034 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents): time 0.2019/0.5199, allocations: 180.4 MB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.531, allocations: 6.78 MB / 1.242 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.532, allocations: 27.81 kB / 1.242 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.5331, allocations: 294.4 kB / 1.242 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005241/0.5383, allocations: 1.867 MB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.5402, allocations: 0.6142 MB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.5431, allocations: 2.399 MB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.5443, allocations: 0.7395 MB / 1.248 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.5465, allocations: 1.028 MB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.5488, allocations: 0.6457 MB / 1.25 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.549, allocations: 32 kB / 1.25 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6744/1.223, allocations: 2.976 MB / 1.252 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007897/1.224, allocations: 485.4 kB / 1.253 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/1.226, allocations: 0.5779 MB / 1.253 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/1.229, allocations: 2.16 MB / 1.256 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.229, allocations: 0.5156 kB / 1.256 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.266e-06/1.229, allocations: 0 / 1.256 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.229, allocations: 1.312 kB / 1.256 GB, free: 6.047 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.002475/1.232, allocations: 1.272 MB / 1.257 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.232, allocations: 11.84 kB / 1.257 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/1.235, allocations: 0.4917 MB / 1.257 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.237, allocations: 0.9553 MB / 1.258 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/1.237, allocations: 66.84 kB / 1.258 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.237, allocations: 88.69 kB / 1.258 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/1.239, allocations: 1.071 MB / 1.259 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.239, allocations: 0 / 1.259 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/1.239, allocations: 33.72 kB / 1.259 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/1.239, allocations: 37.11 kB / 1.26 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/1.241, allocations: 0.9868 MB / 1.26 GB, free: 4.914 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.005003/1.246, allocations: 3.612 MB / 1.264 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.247, allocations: 0.7267 MB / 1.265 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/1.247, allocations: 463 kB / 1.265 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.49e-05/1.247, allocations: 26.81 kB / 1.265 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.247, allocations: 44.42 kB / 1.265 GB, free: 19.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 1.964e-06/1.247, allocations: 0 / 1.265 GB, free: 19.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002422/1.25, allocations: 1.198 MB / 1.266 GB, free: 19.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/1.25, allocations: 62.5 kB / 1.266 GB, free: 19.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/1.251, allocations: 0.7412 MB / 1.267 GB, free: 19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/1.251, allocations: 40.58 kB / 1.267 GB, free: 18.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/1.251, allocations: 402.5 kB / 1.268 GB, free: 18.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/1.252, allocations: 225 kB / 1.268 GB, free: 18.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/1.252, allocations: 56.39 kB / 1.268 GB, free: 18.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.252, allocations: 389.3 kB / 1.268 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/1.253, allocations: 337.3 kB / 1.269 GB, free: 18.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/1.253, allocations: 437.5 kB / 1.269 GB, free: 18.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.254, allocations: 0.7348 MB / 1.27 GB, free: 18.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.254, allocations: 1.438 kB / 1.27 GB, free: 18.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001489/1.256, allocations: 0.8872 MB / 1.271 GB, free: 18.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/1.256, allocations: 121.3 kB / 1.271 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.256, allocations: 1.312 kB / 1.271 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.256, allocations: 4.75 kB / 1.271 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/1.257, allocations: 153.3 kB / 1.271 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000453/1.257, allocations: 0.5887 MB / 1.271 GB, free: 17.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.258, allocations: 147.4 kB / 1.272 GB, free: 17.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/1.258, allocations: 26.86 kB / 1.272 GB, free: 17.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.258, allocations: 3.781 kB / 1.272 GB, free: 17.39 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/1.26, allocations: 0.7935 MB / 1.272 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.26, allocations: 13.33 kB / 1.272 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.26, allocations: 5.594 kB / 1.272 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/1.261, allocations: 131.3 kB / 1.273 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.261, allocations: 6.953 kB / 1.273 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.262, allocations: 137.4 kB / 1.273 GB, free: 17.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/1.262, allocations: 30.11 kB / 1.273 GB, free: 17.33 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.000855/1.263, allocations: 412.2 kB / 1.273 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.263, allocations: 86.81 kB / 1.273 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.265, allocations: 0.8749 MB / 1.274 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.265, allocations: 7.531 kB / 1.274 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.265, allocations: 1.594 kB / 1.274 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/1.266, allocations: 0.8237 MB / 1.275 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005256/1.271, allocations: 2.545 MB / 1.277 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.271, allocations: 3.531 kB / 1.277 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/1.272, allocations: 142.9 kB / 1.277 GB, free: 16.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/1.272, allocations: 43.25 kB / 1.277 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.179e-05/1.272, allocations: 23.31 kB / 1.278 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007847/1.273, allocations: 1.186 MB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.273, allocations: 7.125 kB / 1.279 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.275, allocations: 1.36 MB / 1.28 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/1.276, allocations: 261.6 kB / 1.28 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.276, allocations: 24.72 kB / 1.28 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/1.277, allocations: 74.11 kB / 1.28 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.277, allocations: 56.22 kB / 1.28 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/1.277, allocations: 33.16 kB / 1.28 GB, free: 14.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001023/1.278, allocations: 0.5288 MB / 1.281 GB, free: 14.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.278, allocations: 0 / 1.281 GB, free: 14.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002818/1.281, allocations: 0.7249 MB / 1.282 GB, free: 14.4 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.002749/1.284, allocations: 0.6712 MB / 1.282 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002472/1.286, allocations: 1.223 MB / 1.283 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.286, allocations: 1.312 kB / 1.283 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007694/1.287, allocations: 418.5 kB / 1.284 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.291, allocations: 0.5302 MB / 1.284 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/1.295, allocations: 2.896 MB / 1.287 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009606/1.296, allocations: 1.104 MB / 1.288 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.297, allocations: 76.47 kB / 1.288 GB, free: 11.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.297, allocations: 0 / 1.288 GB, free: 11.91 MB / 1.014 GB Notification: Performance of Templates: time 0.04033/1.337, allocations: 23.99 MB / 1.312 GB, free: 8.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches