Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001189, allocations: 179.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008713, allocations: 99.17 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004076, allocations: 9.562 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.054/6.298, allocations: 2.443 GB / 3.343 GB, free: 67.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/6.298, allocations: 101.3 kB / 3.343 GB, free: 67.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.24/8.538, allocations: 0.6881 GB / 4.031 GB, free: 71.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.563e-06/8.538, allocations: 0 / 4.031 GB, free: 71.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000109/8.538, allocations: 35.98 kB / 4.031 GB, free: 71.45 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003692/8.542, allocations: 1.814 MB / 4.033 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/8.542, allocations: 15.97 kB / 4.033 GB, free: 69.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/8.545, allocations: 0.4937 MB / 4.033 GB, free: 69.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/8.548, allocations: 1.343 MB / 4.035 GB, free: 67.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/8.548, allocations: 78.11 kB / 4.035 GB, free: 67.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/8.548, allocations: 119.9 kB / 4.035 GB, free: 67.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/8.55, allocations: 1.332 MB / 4.036 GB, free: 66.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/8.55, allocations: 0 / 4.036 GB, free: 66.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/8.55, allocations: 44 kB / 4.036 GB, free: 66.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/8.55, allocations: 38.11 kB / 4.036 GB, free: 66.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/8.552, allocations: 1.261 MB / 4.037 GB, free: 64.76 MB / 0.8855 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.006246/8.558, allocations: 5.053 MB / 4.042 GB, free: 59.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/8.559, allocations: 1.025 MB / 4.043 GB, free: 58.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/8.559, allocations: 198.8 kB / 4.043 GB, free: 58.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/8.559, allocations: 55.11 kB / 4.044 GB, free: 58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 2.825e-06/8.559, allocations: 0 / 4.044 GB, free: 58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84): time 0.005116/8.564, allocations: 3.061 MB / 4.047 GB, free: 54.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/8.565, allocations: 60.41 kB / 4.047 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/8.566, allocations: 0.9236 MB / 4.047 GB, free: 53.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/8.566, allocations: 49.7 kB / 4.048 GB, free: 53.81 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/8.566, allocations: 0.5469 MB / 4.048 GB, free: 53.26 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/8.566, allocations: 299.7 kB / 4.048 GB, free: 52.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/8.566, allocations: 16 kB / 4.048 GB, free: 52.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/8.566, allocations: 345.9 kB / 4.049 GB, free: 52.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/8.567, allocations: 441.7 kB / 4.049 GB, free: 52.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/8.567, allocations: 0.5958 MB / 4.05 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/8.568, allocations: 0.5533 MB / 4.05 GB, free: 50.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/8.568, allocations: 0 / 4.05 GB, free: 50.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001536/8.57, allocations: 1.242 MB / 4.051 GB, free: 49.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/8.57, allocations: 0.7902 MB / 4.052 GB, free: 48.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/8.57, allocations: 7.984 kB / 4.052 GB, free: 48.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/8.57, allocations: 72.81 kB / 4.052 GB, free: 48.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/8.571, allocations: 183.8 kB / 4.052 GB, free: 48.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/8.573, allocations: 3.014 MB / 4.055 GB, free: 45.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/8.574, allocations: 139.7 kB / 4.056 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/8.574, allocations: 35.98 kB / 4.056 GB, free: 45.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/8.574, allocations: 9.969 kB / 4.056 GB, free: 45.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/8.575, allocations: 1.113 MB / 4.057 GB, free: 44.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/8.575, allocations: 4 kB / 4.057 GB, free: 44.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/8.576, allocations: 72.7 kB / 4.057 GB, free: 44.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/8.576, allocations: 180 kB / 4.057 GB, free: 43.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/8.577, allocations: 1.835 MB / 4.059 GB, free: 41.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/8.579, allocations: 139.6 kB / 4.059 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/8.579, allocations: 28 kB / 4.059 GB, free: 41.72 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009475/8.58, allocations: 0.6332 MB / 4.059 GB, free: 41.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/8.58, allocations: 118.6 kB / 4.06 GB, free: 40.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/8.582, allocations: 1.225 MB / 4.061 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/8.582, allocations: 8 kB / 4.061 GB, free: 39.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/8.582, allocations: 3.953 kB / 4.061 GB, free: 39.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/8.583, allocations: 1.272 MB / 4.062 GB, free: 38.37 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/8.587, allocations: 2.89 MB / 4.065 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/8.587, allocations: 0 / 4.065 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/8.588, allocations: 245.8 kB / 4.065 GB, free: 35.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/8.588, allocations: 77.05 kB / 4.065 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/8.588, allocations: 23.94 kB / 4.065 GB, free: 35.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/8.59, allocations: 3.003 MB / 4.068 GB, free: 31.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/8.59, allocations: 8.062 kB / 4.068 GB, free: 31.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/8.592, allocations: 2.1 MB / 4.07 GB, free: 29.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/8.593, allocations: 347.7 kB / 4.071 GB, free: 29.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/8.593, allocations: 20 kB / 4.071 GB, free: 29.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/8.594, allocations: 127.6 kB / 4.071 GB, free: 29.17 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/8.594, allocations: 56.47 kB / 4.071 GB, free: 29.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/8.594, allocations: 35.98 kB / 4.071 GB, free: 29.08 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008149/8.595, allocations: 0.74 MB / 4.071 GB, free: 28.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/8.595, allocations: 0 / 4.071 GB, free: 28.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002104/8.597, allocations: 0.8123 MB / 4.072 GB, free: 27.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/8.599, allocations: 1.346 MB / 4.074 GB, free: 26.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002377/8.601, allocations: 1.895 MB / 4.075 GB, free: 24.19 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/8.601, allocations: 0 / 4.075 GB, free: 24.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/8.602, allocations: 0.6788 MB / 4.076 GB, free: 23.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/8.605, allocations: 0.7891 MB / 4.077 GB, free: 22.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/8.608, allocations: 3.742 MB / 4.081 GB, free: 18.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/8.609, allocations: 1.499 MB / 4.082 GB, free: 17.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001672/8.611, allocations: 0.6924 MB / 4.083 GB, free: 16.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/8.611, allocations: 91.42 kB / 4.083 GB, free: 16.61 MB / 0.8855 GB Notification: Performance of SimCode: time 7.92e-07/8.611, allocations: 0 / 4.083 GB, free: 16.61 MB / 0.8855 GB Notification: Performance of Templates: time 0.4543/9.065, allocations: 42.66 MB / 4.124 GB, free: 183 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches