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.474/1.474, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 176.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009521/0.0009523, allocations: 91.98 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.137e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.929/8.22, allocations: 2.443 GB / 3.328 GB, free: 309.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/8.22, allocations: 97.16 kB / 3.328 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.526/10.75, allocations: 0.6799 GB / 4.008 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/10.75, allocations: 0 / 4.008 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001226/10.75, allocations: 34.19 kB / 4.008 GB, free: 193.7 MB / 0.8698 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.003458/10.75, allocations: 1.565 MB / 4.01 GB, free: 193 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/10.75, allocations: 13.62 kB / 4.01 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/10.75, allocations: 498.7 kB / 4.01 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/10.76, allocations: 1.332 MB / 4.011 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/10.76, allocations: 35.06 kB / 4.011 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/10.76, allocations: 67.78 kB / 4.012 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001957/10.76, allocations: 1.19 MB / 4.013 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/10.76, allocations: 1.16 MB / 4.014 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/10.76, allocations: 0 / 4.014 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/10.76, allocations: 11.23 kB / 4.014 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/10.76, allocations: 35.55 kB / 4.014 GB, free: 192.5 MB / 0.8698 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.00626/10.77, allocations: 4.822 MB / 4.019 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/10.77, allocations: 0.97 MB / 4.02 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/10.77, allocations: 0.5502 MB / 4.02 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/10.77, allocations: 206.9 kB / 4.02 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/10.77, allocations: 50.86 kB / 4.02 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=81): time 2.955e-06/10.77, allocations: 0 / 4.02 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.00475/10.77, allocations: 2.503 MB / 4.023 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/10.77, allocations: 58.72 kB / 4.023 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/10.77, allocations: 0.782 MB / 4.024 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/10.77, allocations: 29.52 kB / 4.024 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/10.77, allocations: 0.5476 MB / 4.024 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/10.77, allocations: 291 kB / 4.024 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/10.77, allocations: 0 / 4.024 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/10.77, allocations: 337 kB / 4.025 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/10.78, allocations: 424.4 kB / 4.025 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/10.78, allocations: 0.5681 MB / 4.026 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/10.78, allocations: 0.526 MB / 4.026 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/10.78, allocations: 2.469 kB / 4.026 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001613/10.78, allocations: 1.163 MB / 4.027 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/10.78, allocations: 0.7865 MB / 4.028 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/10.78, allocations: 11.48 kB / 4.028 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/10.78, allocations: 76.84 kB / 4.028 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/10.78, allocations: 193.8 kB / 4.028 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/10.78, allocations: 2.931 MB / 4.031 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/10.78, allocations: 121.5 kB / 4.031 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/10.78, allocations: 28.56 kB / 4.031 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/10.78, allocations: 5 kB / 4.031 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00137/10.78, allocations: 1.022 MB / 4.032 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/10.78, allocations: 3.188 kB / 4.032 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/10.79, allocations: 67.53 kB / 4.032 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/10.79, allocations: 175.6 kB / 4.033 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/10.79, allocations: 1.751 MB / 4.034 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/10.79, allocations: 125.4 kB / 4.034 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/10.79, allocations: 30.44 kB / 4.034 GB, free: 184 MB / 0.8698 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 () * 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.0002432/10.79, allocations: 123.3 kB / 4.035 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/10.79, allocations: 113.1 kB / 4.035 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/10.79, allocations: 1.135 MB / 4.036 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/10.79, allocations: 9.125 kB / 4.036 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/10.79, allocations: 0 / 4.036 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/10.79, allocations: 1.202 MB / 4.037 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/10.8, allocations: 2.666 MB / 4.04 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/10.8, allocations: 5.188 kB / 4.04 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/10.8, allocations: 244 kB / 4.04 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/10.8, allocations: 68.92 kB / 4.04 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/10.8, allocations: 16.88 kB / 4.04 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/10.8, allocations: 2.929 MB / 4.043 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/10.8, allocations: 3.719 kB / 4.043 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/10.8, allocations: 2.003 MB / 4.045 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/10.8, allocations: 337.4 kB / 4.045 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/10.8, allocations: 18.25 kB / 4.045 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/10.8, allocations: 112.3 kB / 4.045 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/10.8, allocations: 56.25 kB / 4.045 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/10.8, allocations: 32.05 kB / 4.045 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007768/10.8, allocations: 0.614 MB / 4.046 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/10.8, allocations: 1.688 kB / 4.046 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002361/10.81, allocations: 0.7386 MB / 4.047 GB, free: 179.8 MB / 0.8698 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 () * 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.002125/10.81, allocations: 1.517 MB / 4.048 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002715/10.81, allocations: 1.831 MB / 4.05 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/10.81, allocations: 0 / 4.05 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/10.81, allocations: 0.6352 MB / 4.05 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/10.82, allocations: 0.7508 MB / 4.051 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/10.82, allocations: 2.661 MB / 4.054 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008642/10.82, allocations: 1.499 MB / 4.055 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002546/10.82, allocations: 0.962 MB / 4.056 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/10.82, allocations: 70.95 kB / 4.056 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.773e-06/10.82, allocations: 0 / 4.056 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05312/10.88, allocations: 33.68 MB / 4.089 GB, free: 176.1 MB / 0.8698 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