Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001117/0.001117, allocations: 183.9 kB / 0.4902 GB, free: 2.219 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.681/1.681, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001184/0.001184, allocations: 99.88 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 10.62 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3509, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.629/4.98, allocations: 1.923 GB / 3.152 GB, free: 57.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/4.98, allocations: 91.95 kB / 3.153 GB, free: 57.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.128/8.108, allocations: 0.7652 GB / 3.918 GB, free: 190.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.175e-06/8.108, allocations: 0 / 3.918 GB, free: 190.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001146/8.108, allocations: 43.98 kB / 3.918 GB, free: 190.5 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004418/8.112, allocations: 1.751 MB / 3.92 GB, free: 188.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/8.112, allocations: 8.031 kB / 3.92 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/8.115, allocations: 485.7 kB / 3.92 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/8.118, allocations: 1.101 MB / 3.921 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/8.118, allocations: 90.12 kB / 3.921 GB, free: 187 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/8.118, allocations: 108 kB / 3.921 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/8.12, allocations: 1.225 MB / 3.922 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/8.12, allocations: 0 / 3.922 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/8.12, allocations: 44 kB / 3.922 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/8.12, allocations: 42.09 kB / 3.923 GB, free: 185.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/8.121, allocations: 1.019 MB / 3.924 GB, free: 184.5 MB / 1.167 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.005266/8.126, allocations: 4.215 MB / 3.928 GB, free: 180 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/8.127, allocations: 0.7741 MB / 3.928 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/8.128, allocations: 296.3 kB / 3.929 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/8.128, allocations: 43.56 kB / 3.929 GB, free: 178.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.587e-06/8.128, allocations: 4 kB / 3.929 GB, free: 178.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=89): time 0.005084/8.133, allocations: 2.811 MB / 3.931 GB, free: 175.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/8.133, allocations: 64.41 kB / 3.932 GB, free: 175.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/8.134, allocations: 0.8488 MB / 3.932 GB, free: 175 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/8.134, allocations: 49.64 kB / 3.932 GB, free: 174.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/8.135, allocations: 0.5396 MB / 3.933 GB, free: 174.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/8.135, allocations: 307.4 kB / 3.933 GB, free: 174.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/8.135, allocations: 20 kB / 3.933 GB, free: 174.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/8.135, allocations: 337.9 kB / 3.934 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/8.135, allocations: 341.8 kB / 3.934 GB, free: 173.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/8.136, allocations: 488.5 kB / 3.934 GB, free: 172.9 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/8.14, allocations: 2.235 MB / 3.937 GB, free: 170.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/8.14, allocations: 0 / 3.937 GB, free: 170.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001422/8.142, allocations: 1.004 MB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/8.142, allocations: 4.938 kB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/8.142, allocations: 4 kB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/8.142, allocations: 8 kB / 3.938 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/8.142, allocations: 187.7 kB / 3.938 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/8.142, allocations: 11.94 kB / 3.938 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/8.144, allocations: 80.17 kB / 3.938 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/8.144, allocations: 31.98 kB / 3.938 GB, free: 169.3 MB / 1.167 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007769/8.145, allocations: 374.1 kB / 3.938 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/8.145, allocations: 130.5 kB / 3.938 GB, free: 168.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/8.145, allocations: 148.2 kB / 3.938 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/8.145, allocations: 12 kB / 3.938 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/8.145, allocations: 7.953 kB / 3.938 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/8.146, allocations: 1.082 MB / 3.94 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/8.151, allocations: 3.032 MB / 3.942 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/8.151, allocations: 8 kB / 3.943 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/8.151, allocations: 167.7 kB / 3.943 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/8.152, allocations: 102.4 kB / 3.943 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/8.152, allocations: 35.92 kB / 3.943 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/8.154, allocations: 2.896 MB / 3.946 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/8.154, allocations: 19.95 kB / 3.946 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/8.156, allocations: 2.227 MB / 3.948 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/8.157, allocations: 307.5 kB / 3.948 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/8.157, allocations: 35.94 kB / 3.948 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/8.158, allocations: 71.8 kB / 3.948 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/8.158, allocations: 84.14 kB / 3.948 GB, free: 157.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/8.158, allocations: 51.97 kB / 3.948 GB, free: 157.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00085/8.159, allocations: 0.6878 MB / 3.949 GB, free: 156.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.159, allocations: 0 / 3.949 GB, free: 156.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001816/8.161, allocations: 0.5233 MB / 3.95 GB, free: 156.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002398/8.163, allocations: 1.661 MB / 3.951 GB, free: 154.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001211/8.164, allocations: 0.8202 MB / 3.952 GB, free: 153.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/8.164, allocations: 0 / 3.952 GB, free: 153.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000758/8.165, allocations: 0.6698 MB / 3.953 GB, free: 153.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/8.169, allocations: 0.8737 MB / 3.953 GB, free: 152.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/8.172, allocations: 3.248 MB / 3.957 GB, free: 148.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/8.173, allocations: 1.276 MB / 3.958 GB, free: 147.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001284/8.174, allocations: 339 kB / 3.958 GB, free: 147.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/8.175, allocations: 103.4 kB / 3.958 GB, free: 147.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/8.175, allocations: 0 / 3.958 GB, free: 147.2 MB / 1.167 GB Notification: Performance of Templates: time 0.0635/8.238, allocations: 45.62 MB / 4.003 GB, free: 101.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches