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.475/1.475, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001353/0.001353, allocations: 188.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.00118/0.00118, allocations: 82.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.834e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.793/8.069, allocations: 2.443 GB / 3.334 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/8.069, allocations: 99.17 kB / 3.334 GB, free: 224 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.574/10.64, allocations: 0.6874 GB / 4.022 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.825e-06/10.64, allocations: 0 / 4.022 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002497/10.64, allocations: 50.67 kB / 4.022 GB, free: 174.5 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.005454/10.65, allocations: 1.559 MB / 4.023 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/10.65, allocations: 10.81 kB / 4.023 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/10.65, allocations: 499 kB / 4.024 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/10.66, allocations: 1.332 MB / 4.025 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/10.66, allocations: 85.27 kB / 4.025 GB, free: 173 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/10.66, allocations: 120.4 kB / 4.025 GB, free: 173 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/10.66, allocations: 1.314 MB / 4.027 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/10.66, allocations: 0 / 4.027 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/10.66, allocations: 42.88 kB / 4.027 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/10.66, allocations: 41.73 kB / 4.027 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/10.66, allocations: 1.237 MB / 4.028 GB, free: 172.1 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.007239/10.67, allocations: 5.059 MB / 4.033 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/10.67, allocations: 1.008 MB / 4.034 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/10.67, allocations: 0.5832 MB / 4.034 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/10.67, allocations: 201.6 kB / 4.035 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/10.67, allocations: 48.72 kB / 4.035 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=81): time 3.968e-06/10.67, allocations: 0 / 4.035 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.005481/10.68, allocations: 2.639 MB / 4.037 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/10.68, allocations: 60.38 kB / 4.037 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/10.68, allocations: 0.9206 MB / 4.038 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/10.68, allocations: 44.23 kB / 4.038 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/10.68, allocations: 0.5472 MB / 4.039 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/10.68, allocations: 302.9 kB / 4.039 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/10.68, allocations: 14.62 kB / 4.039 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/10.68, allocations: 340.8 kB / 4.039 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/10.68, allocations: 434.7 kB / 4.04 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/10.68, allocations: 0.5919 MB / 4.04 GB, free: 165 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/10.68, allocations: 0.539 MB / 4.041 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/10.68, allocations: 3.938 kB / 4.041 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001895/10.68, allocations: 1.224 MB / 4.042 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002609/10.69, allocations: 0.796 MB / 4.043 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/10.69, allocations: 3.844 kB / 4.043 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/10.69, allocations: 65.72 kB / 4.043 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/10.69, allocations: 200.6 kB / 4.043 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/10.69, allocations: 2.99 MB / 4.046 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/10.69, allocations: 139.1 kB / 4.046 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/10.69, allocations: 33.97 kB / 4.046 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/10.69, allocations: 7.344 kB / 4.046 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/10.69, allocations: 1.1 MB / 4.047 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/10.69, allocations: 0 / 4.047 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/10.69, allocations: 75.66 kB / 4.047 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/10.69, allocations: 167.2 kB / 4.048 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/10.69, allocations: 1.804 MB / 4.049 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/10.7, allocations: 146.5 kB / 4.05 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/10.7, allocations: 29.06 kB / 4.05 GB, free: 158 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.0003322/10.7, allocations: 156.9 kB / 4.05 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/10.7, allocations: 119.9 kB / 4.05 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/10.7, allocations: 1.215 MB / 4.051 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/10.7, allocations: 7.906 kB / 4.051 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/10.7, allocations: 1.906 kB / 4.051 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/10.7, allocations: 1.249 MB / 4.052 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/10.71, allocations: 2.878 MB / 4.055 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/10.71, allocations: 3.625 kB / 4.055 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/10.71, allocations: 245.1 kB / 4.055 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/10.71, allocations: 69.22 kB / 4.055 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/10.71, allocations: 22.66 kB / 4.055 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/10.71, allocations: 2.993 MB / 4.058 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/10.71, allocations: 3.938 kB / 4.058 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/10.71, allocations: 2.072 MB / 4.06 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/10.71, allocations: 349.7 kB / 4.061 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/10.71, allocations: 25.83 kB / 4.061 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/10.72, allocations: 121.1 kB / 4.061 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/10.72, allocations: 53.38 kB / 4.061 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/10.72, allocations: 37.89 kB / 4.061 GB, free: 150 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001375/10.72, allocations: 0.7354 MB / 4.062 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.924e-06/10.72, allocations: 0 / 4.062 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003773/10.72, allocations: 0.8064 MB / 4.062 GB, free: 148.5 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.002724/10.72, allocations: 1.369 MB / 4.064 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003529/10.73, allocations: 1.91 MB / 4.066 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/10.73, allocations: 0 / 4.066 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/10.73, allocations: 0.6758 MB / 4.066 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004832/10.73, allocations: 0.7775 MB / 4.067 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/10.74, allocations: 2.723 MB / 4.07 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/10.74, allocations: 1.497 MB / 4.071 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003212/10.74, allocations: 1.033 MB / 4.072 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/10.74, allocations: 71.44 kB / 4.072 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/10.74, allocations: 0 / 4.072 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.06823/10.81, allocations: 48.31 MB / 4.119 GB, free: 91.2 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