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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.651/2.651, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 179.2 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 94.77 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.217e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3028, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.247/2.55, allocations: 0.814 GB / 2.026 GB, free: 146.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/2.55, allocations: 90.42 kB / 2.026 GB, free: 146.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.282/5.832, allocations: 0.8992 GB / 2.926 GB, free: 174 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/5.832, allocations: 0 / 2.926 GB, free: 174 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.152e-05/5.832, allocations: 24 kB / 2.926 GB, free: 174 MB / 1.167 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.003147/5.835, allocations: 1.297 MB / 2.927 GB, free: 172.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/5.835, allocations: 11.97 kB / 2.927 GB, free: 172.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/5.838, allocations: 440.6 kB / 2.927 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/5.839, allocations: 0.9801 MB / 2.928 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/5.839, allocations: 32 kB / 2.928 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/5.84, allocations: 52 kB / 2.928 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/5.841, allocations: 0.8746 MB / 2.929 GB, free: 170.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/5.842, allocations: 0.878 MB / 2.93 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/5.842, allocations: 0 / 2.93 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/5.842, allocations: 7.938 kB / 2.93 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/5.842, allocations: 30 kB / 2.93 GB, free: 169.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.004069/5.846, allocations: 3.394 MB / 2.933 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008738/5.847, allocations: 0.6788 MB / 2.934 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/5.848, allocations: 428.4 kB / 2.934 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/5.848, allocations: 210.7 kB / 2.935 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/5.848, allocations: 43.12 kB / 2.935 GB, free: 164.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 2.835e-06/5.848, allocations: 0 / 2.935 GB, free: 164.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002306/5.85, allocations: 0.9327 MB / 2.936 GB, free: 163.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/5.85, allocations: 59.97 kB / 2.936 GB, free: 163.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/5.851, allocations: 474.1 kB / 2.936 GB, free: 162.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/5.851, allocations: 29.7 kB / 2.936 GB, free: 162.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/5.851, allocations: 415.8 kB / 2.937 GB, free: 162.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/5.851, allocations: 212.8 kB / 2.937 GB, free: 162.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/5.851, allocations: 0 / 2.937 GB, free: 162.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/5.851, allocations: 382.7 kB / 2.937 GB, free: 161.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/5.852, allocations: 285.5 kB / 2.937 GB, free: 161.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/5.852, allocations: 386.3 kB / 2.938 GB, free: 161.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/5.853, allocations: 476.2 kB / 2.938 GB, free: 160.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.853, allocations: 0 / 2.938 GB, free: 160.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001314/5.854, allocations: 0.8847 MB / 2.939 GB, free: 159.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/5.854, allocations: 459.2 kB / 2.94 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/5.854, allocations: 0 / 2.94 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/5.854, allocations: 7.938 kB / 2.94 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/5.855, allocations: 135.9 kB / 2.94 GB, free: 159.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003/5.855, allocations: 0.5976 MB / 2.94 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/5.856, allocations: 123.5 kB / 2.94 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/5.856, allocations: 31.98 kB / 2.94 GB, free: 158.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/5.856, allocations: 4 kB / 2.94 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/5.857, allocations: 0.79 MB / 2.941 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/5.857, allocations: 0 / 2.941 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/5.857, allocations: 4 kB / 2.941 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/5.858, allocations: 135.8 kB / 2.941 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/5.858, allocations: 7.938 kB / 2.941 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/5.859, allocations: 117.9 kB / 2.941 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/5.859, allocations: 28 kB / 2.941 GB, free: 157.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000178/5.859, allocations: 112.9 kB / 2.942 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/5.859, allocations: 67.2 kB / 2.942 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/5.861, allocations: 0.9245 MB / 2.943 GB, free: 156.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/5.861, allocations: 11.94 kB / 2.943 GB, free: 156.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/5.861, allocations: 0 / 2.943 GB, free: 156.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/5.862, allocations: 0.8894 MB / 2.943 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/5.865, allocations: 2.468 MB / 2.946 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/5.865, allocations: 7.953 kB / 2.946 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/5.866, allocations: 135.8 kB / 2.946 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/5.866, allocations: 44.83 kB / 2.946 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/5.866, allocations: 16 kB / 2.946 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004431/5.867, allocations: 1.189 MB / 2.947 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/5.867, allocations: 4 kB / 2.947 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/5.868, allocations: 1.565 MB / 2.949 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/5.869, allocations: 252.1 kB / 2.949 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/5.869, allocations: 11.98 kB / 2.949 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/5.869, allocations: 59.91 kB / 2.949 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/5.869, allocations: 56.33 kB / 2.949 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/5.87, allocations: 39.92 kB / 2.949 GB, free: 149 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000349/5.87, allocations: 370.9 kB / 2.949 GB, free: 148.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/5.87, allocations: 0 / 2.949 GB, free: 148.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002199/5.872, allocations: 0.7948 MB / 2.95 GB, free: 147.8 MB / 1.167 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002225/5.874, allocations: 1.434 MB / 2.952 GB, free: 146.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001475/5.876, allocations: 1.127 MB / 2.953 GB, free: 145.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/5.876, allocations: 0 / 2.953 GB, free: 145.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/5.876, allocations: 386 kB / 2.953 GB, free: 144.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/5.878, allocations: 427 kB / 2.954 GB, free: 144.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/5.881, allocations: 1.936 MB / 2.955 GB, free: 142.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/5.882, allocations: 1.123 MB / 2.957 GB, free: 141.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001224/5.883, allocations: 481.4 kB / 2.957 GB, free: 140.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/5.883, allocations: 63.42 kB / 2.957 GB, free: 140.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/5.883, allocations: 0 / 2.957 GB, free: 140.8 MB / 1.167 GB Notification: Performance of Templates: time 0.03243/5.916, allocations: 24.25 MB / 2.981 GB, free: 116.7 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches