Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.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_latest_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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001479/0.001479, allocations: 188.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009384/0.0009385, allocations: 99.69 kB / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.548e-05, allocations: 8 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3398, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.287/6.627, allocations: 2.167 GB / 3.386 GB, free: 98.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/6.627, allocations: 95.94 kB / 3.386 GB, free: 98.77 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.358/9.985, allocations: 0.7207 GB / 4.107 GB, free: 274.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/9.985, allocations: 0 / 4.107 GB, free: 274.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002836/9.986, allocations: 37.77 kB / 4.107 GB, free: 274.7 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005556/9.991, allocations: 1.565 MB / 4.108 GB, free: 273.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/9.991, allocations: 9.312 kB / 4.108 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/9.995, allocations: 494.8 kB / 4.109 GB, free: 273.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/9.999, allocations: 1.365 MB / 4.11 GB, free: 272.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/9.999, allocations: 79.31 kB / 4.11 GB, free: 272.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004316/10, allocations: 112.8 kB / 4.11 GB, free: 272.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/10, allocations: 1.29 MB / 4.112 GB, free: 271.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/10, allocations: 0 / 4.112 GB, free: 271.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/10, allocations: 46.55 kB / 4.112 GB, free: 271.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/10, allocations: 39.64 kB / 4.112 GB, free: 271.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/10.01, allocations: 1.222 MB / 4.113 GB, free: 271.2 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.008743/10.01, allocations: 5.043 MB / 4.118 GB, free: 267.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/10.02, allocations: 0.9403 MB / 4.119 GB, free: 266.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008185/10.02, allocations: 0.5871 MB / 4.119 GB, free: 266.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/10.02, allocations: 208.5 kB / 4.12 GB, free: 266.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/10.02, allocations: 46.97 kB / 4.12 GB, free: 266.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 3.937e-06/10.02, allocations: 0 / 4.12 GB, free: 266.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.006866/10.02, allocations: 2.68 MB / 4.122 GB, free: 264.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/10.02, allocations: 62.06 kB / 4.122 GB, free: 264.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/10.03, allocations: 0.9089 MB / 4.123 GB, free: 264.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/10.03, allocations: 49.36 kB / 4.123 GB, free: 264.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/10.03, allocations: 0.5535 MB / 4.124 GB, free: 263.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/10.03, allocations: 294.3 kB / 4.124 GB, free: 263.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/10.03, allocations: 18.16 kB / 4.124 GB, free: 263.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001298/10.03, allocations: 341.8 kB / 4.124 GB, free: 263.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/10.03, allocations: 446.6 kB / 4.125 GB, free: 263 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/10.03, allocations: 0.6011 MB / 4.125 GB, free: 262.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/10.03, allocations: 0.5509 MB / 4.126 GB, free: 262.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/10.03, allocations: 0 / 4.126 GB, free: 262.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00193/10.03, allocations: 1.25 MB / 4.127 GB, free: 261.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/10.03, allocations: 0.7934 MB / 4.128 GB, free: 260.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/10.03, allocations: 4 kB / 4.128 GB, free: 260.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/10.03, allocations: 71.12 kB / 4.128 GB, free: 260.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009406/10.03, allocations: 191.6 kB / 4.128 GB, free: 260.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/10.03, allocations: 2.988 MB / 4.131 GB, free: 257.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/10.04, allocations: 152 kB / 4.131 GB, free: 257 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/10.04, allocations: 33.97 kB / 4.131 GB, free: 256.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/10.04, allocations: 6.031 kB / 4.131 GB, free: 256.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/10.04, allocations: 1.122 MB / 4.132 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/10.04, allocations: 7.984 kB / 4.132 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/10.04, allocations: 72.03 kB / 4.133 GB, free: 255.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/10.04, allocations: 171.8 kB / 4.133 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/10.04, allocations: 1.809 MB / 4.134 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/10.04, allocations: 153.3 kB / 4.135 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/10.04, allocations: 27.83 kB / 4.135 GB, free: 253.5 MB / 1.167 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.0002536/10.04, allocations: 156.8 kB / 4.135 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/10.04, allocations: 114.6 kB / 4.135 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/10.04, allocations: 1.238 MB / 4.136 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/10.04, allocations: 11.98 kB / 4.136 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/10.04, allocations: 0 / 4.136 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/10.05, allocations: 1.279 MB / 4.137 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/10.05, allocations: 2.891 MB / 4.14 GB, free: 247.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/10.05, allocations: 0 / 4.14 GB, free: 247.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/10.05, allocations: 239.3 kB / 4.14 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/10.05, allocations: 83.27 kB / 4.14 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/10.05, allocations: 27.94 kB / 4.141 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/10.05, allocations: 2.985 MB / 4.143 GB, free: 244.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/10.05, allocations: 0 / 4.143 GB, free: 244.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/10.05, allocations: 1.987 MB / 4.145 GB, free: 242.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/10.06, allocations: 335.6 kB / 4.146 GB, free: 241.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/10.06, allocations: 23.98 kB / 4.146 GB, free: 241.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/10.06, allocations: 118 kB / 4.146 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/10.06, allocations: 59.58 kB / 4.146 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/10.06, allocations: 35.98 kB / 4.146 GB, free: 241.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008728/10.06, allocations: 0.725 MB / 4.147 GB, free: 240.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.06, allocations: 0 / 4.147 GB, free: 240.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002359/10.06, allocations: 0.8038 MB / 4.147 GB, free: 240 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * 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.001978/10.06, allocations: 1.347 MB / 4.149 GB, free: 238.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002778/10.06, allocations: 1.945 MB / 4.151 GB, free: 237 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/10.06, allocations: 4 kB / 4.151 GB, free: 237 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007979/10.07, allocations: 0.6885 MB / 4.151 GB, free: 236.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/10.07, allocations: 0.7885 MB / 4.152 GB, free: 235.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/10.07, allocations: 2.715 MB / 4.155 GB, free: 232.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/10.08, allocations: 1.482 MB / 4.156 GB, free: 231.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002851/10.08, allocations: 1.035 MB / 4.157 GB, free: 230.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/10.08, allocations: 79.42 kB / 4.157 GB, free: 230.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/10.08, allocations: 0 / 4.157 GB, free: 230.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06677/10.14, allocations: 47.95 MB / 4.204 GB, free: 182.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches