Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.09/2.09, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001164/0.001164, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.38/1.38, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 103.8 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.667e-05, allocations: 3.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.352, allocations: 412 MB / 1.608 GB, free: 10.58 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/1.353, allocations: 96 kB / 1.608 GB, free: 10.53 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.105/2.458, allocations: 247.2 MB / 1.85 GB, free: 362.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/2.458, allocations: 0 / 1.85 GB, free: 362.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001355/2.458, allocations: 38.17 kB / 1.85 GB, free: 362.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002277/2.461, allocations: 1.194 MB / 1.851 GB, free: 361.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/2.461, allocations: 7.844 kB / 1.851 GB, free: 361.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/2.461, allocations: 142.2 kB / 1.851 GB, free: 361.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/2.476, allocations: 7.751 MB / 1.859 GB, free: 355 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/2.476, allocations: 24 kB / 1.859 GB, free: 355 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/2.476, allocations: 51.88 kB / 1.859 GB, free: 354.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001105/2.477, allocations: 0.6403 MB / 1.859 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/2.478, allocations: 0.8499 MB / 1.86 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/2.478, allocations: 3.984 kB / 1.86 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/2.478, allocations: 7.938 kB / 1.86 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/2.478, allocations: 24 kB / 1.86 GB, free: 353.4 MB / 1.151 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.004324/2.483, allocations: 4.389 MB / 1.865 GB, free: 348.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/2.483, allocations: 371.5 kB / 1.865 GB, free: 348.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/2.483, allocations: 245.4 kB / 1.865 GB, free: 348.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/2.484, allocations: 437.6 kB / 1.866 GB, free: 347.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/2.484, allocations: 38.89 kB / 1.866 GB, free: 347.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/2.484, allocations: 0 / 1.866 GB, free: 347.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001098/2.485, allocations: 0.5344 MB / 1.866 GB, free: 347 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/2.485, allocations: 55.41 kB / 1.866 GB, free: 346.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000852/2.486, allocations: 0.7818 MB / 1.867 GB, free: 346.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/2.486, allocations: 25.7 kB / 1.867 GB, free: 346.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/2.486, allocations: 0.5105 MB / 1.867 GB, free: 345.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/2.486, allocations: 141.9 kB / 1.868 GB, free: 345.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/2.486, allocations: 0 / 1.868 GB, free: 345.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/2.486, allocations: 330 kB / 1.868 GB, free: 345.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/2.486, allocations: 205 kB / 1.868 GB, free: 344.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/2.487, allocations: 423.8 kB / 1.869 GB, free: 344.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/2.487, allocations: 309.2 kB / 1.869 GB, free: 344.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.487, allocations: 4 kB / 1.869 GB, free: 344.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001057/2.488, allocations: 0.7328 MB / 1.87 GB, free: 343.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003817/2.489, allocations: 2.182 MB / 1.872 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/2.489, allocations: 8 kB / 1.872 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/2.489, allocations: 52.52 kB / 1.872 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/2.489, allocations: 115.8 kB / 1.872 GB, free: 340.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003482/2.49, allocations: 0.6304 MB / 1.872 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/2.49, allocations: 95.44 kB / 1.873 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/2.491, allocations: 27.98 kB / 1.873 GB, free: 340 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/2.491, allocations: 4 kB / 1.873 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008637/2.491, allocations: 0.6126 MB / 1.873 GB, free: 339.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/2.491, allocations: 4 kB / 1.873 GB, free: 339.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/2.492, allocations: 68.94 kB / 1.873 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/2.492, allocations: 115.8 kB / 1.873 GB, free: 339.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/2.493, allocations: 1.598 MB / 1.875 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/2.494, allocations: 79.53 kB / 1.875 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/2.494, allocations: 43.88 kB / 1.875 GB, free: 337.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001546/2.494, allocations: 112.9 kB / 1.875 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/2.494, allocations: 86.97 kB / 1.875 GB, free: 337.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009689/2.495, allocations: 0.6028 MB / 1.876 GB, free: 336.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/2.495, allocations: 4 kB / 1.876 GB, free: 336.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/2.495, allocations: 4 kB / 1.876 GB, free: 336.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006604/2.496, allocations: 0.7965 MB / 1.877 GB, free: 335.7 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.002075/2.498, allocations: 1.533 MB / 1.878 GB, free: 334.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/2.498, allocations: 8 kB / 1.878 GB, free: 334.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/2.498, allocations: 80 kB / 1.878 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.219e-05/2.498, allocations: 36.84 kB / 1.878 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/2.498, allocations: 4 kB / 1.878 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002317/2.499, allocations: 0.5641 MB / 1.879 GB, free: 333.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.499, allocations: 7.969 kB / 1.879 GB, free: 333.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/2.5, allocations: 0.9635 MB / 1.88 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/2.5, allocations: 255.8 kB / 1.88 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/2.5, allocations: 4 kB / 1.88 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/2.501, allocations: 55.88 kB / 1.88 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/2.501, allocations: 31.91 kB / 1.88 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/2.501, allocations: 23.98 kB / 1.88 GB, free: 332 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006184/2.502, allocations: 0.6044 MB / 1.881 GB, free: 331.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/2.502, allocations: 0 / 1.881 GB, free: 331.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001723/2.503, allocations: 0.5728 MB / 1.881 GB, free: 330.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006332/2.504, allocations: 395 kB / 1.882 GB, free: 330.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001141/2.505, allocations: 0.9525 MB / 1.883 GB, free: 329.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.505, allocations: 2 kB / 1.883 GB, free: 329.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/2.505, allocations: 219.8 kB / 1.883 GB, free: 329.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/2.508, allocations: 0.5365 MB / 1.883 GB, free: 328.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/2.51, allocations: 1.619 MB / 1.885 GB, free: 327 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/2.51, allocations: 1.253 MB / 1.886 GB, free: 325.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001442/2.512, allocations: 0.6703 MB / 1.887 GB, free: 325.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/2.512, allocations: 59.42 kB / 1.887 GB, free: 325 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/2.512, allocations: 0 / 1.887 GB, free: 325 MB / 1.151 GB Notification: Performance of Templates: time 0.02696/2.539, allocations: 19.68 MB / 1.906 GB, free: 305.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches