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.314/2.314, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001166/0.001166, allocations: 186.6 kB / 498.1 MB, free: 5.742 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.665/1.665, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0009976/0.0009975, allocations: 100.3 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004377, allocations: 13.42 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3605, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.655, allocations: 412.7 MB / 1.626 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/1.656, allocations: 94.7 kB / 1.626 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.464/3.119, allocations: 249.3 MB / 1.869 GB, free: 357.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.623e-06/3.119, allocations: 0 / 1.869 GB, free: 357.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002415/3.119, allocations: 40.2 kB / 1.869 GB, free: 357.4 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004816/3.124, allocations: 1.427 MB / 1.871 GB, free: 356.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/3.124, allocations: 9.812 kB / 1.871 GB, free: 356.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/3.125, allocations: 138.5 kB / 1.871 GB, free: 356.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/3.147, allocations: 7.842 MB / 1.879 GB, free: 356.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/3.147, allocations: 57.38 kB / 1.879 GB, free: 356.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/3.148, allocations: 79.17 kB / 1.879 GB, free: 356.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/3.15, allocations: 0.9713 MB / 1.88 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/3.15, allocations: 4.188 kB / 1.88 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/3.151, allocations: 37.02 kB / 1.88 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/3.151, allocations: 21.12 kB / 1.88 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/3.152, allocations: 0.6951 MB / 1.88 GB, free: 356 MB / 1.167 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.006092/3.158, allocations: 4.545 MB / 1.885 GB, free: 353.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/3.159, allocations: 389 kB / 1.885 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/3.159, allocations: 433.6 kB / 1.886 GB, free: 352.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/3.159, allocations: 36.86 kB / 1.886 GB, free: 352.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/3.159, allocations: 0 / 1.886 GB, free: 352.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.00192/3.161, allocations: 0.8507 MB / 1.887 GB, free: 352.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/3.161, allocations: 56 kB / 1.887 GB, free: 352.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/3.163, allocations: 0.843 MB / 1.887 GB, free: 352.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/3.163, allocations: 36.58 kB / 1.887 GB, free: 352.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/3.163, allocations: 0.5064 MB / 1.888 GB, free: 352.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/3.163, allocations: 150.8 kB / 1.888 GB, free: 352.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/3.163, allocations: 11.88 kB / 1.888 GB, free: 352.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/3.163, allocations: 332.6 kB / 1.888 GB, free: 351.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/3.164, allocations: 211.8 kB / 1.889 GB, free: 351.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/3.164, allocations: 440.5 kB / 1.889 GB, free: 351.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/3.165, allocations: 310.9 kB / 1.889 GB, free: 351.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/3.165, allocations: 5.312 kB / 1.889 GB, free: 351.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001346/3.166, allocations: 0.7845 MB / 1.89 GB, free: 351.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005714/3.167, allocations: 2.18 MB / 1.892 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/3.167, allocations: 5.812 kB / 1.892 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/3.167, allocations: 67.94 kB / 1.892 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/3.168, allocations: 112.7 kB / 1.892 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004707/3.168, allocations: 0.6364 MB / 1.893 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/3.169, allocations: 104.7 kB / 1.893 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/3.169, allocations: 32.66 kB / 1.893 GB, free: 348.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/3.169, allocations: 3.031 kB / 1.893 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/3.171, allocations: 0.6742 MB / 1.894 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/3.171, allocations: 9.031 kB / 1.894 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/3.171, allocations: 62.7 kB / 1.894 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/3.171, allocations: 111.4 kB / 1.894 GB, free: 348.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/3.173, allocations: 1.675 MB / 1.896 GB, free: 347.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/3.174, allocations: 99.84 kB / 1.896 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/3.174, allocations: 36.36 kB / 1.896 GB, free: 347.2 MB / 1.167 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 () * Number of clocked 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.0008673/3.175, allocations: 496.4 kB / 1.896 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/3.175, allocations: 92.52 kB / 1.896 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009816/3.176, allocations: 0.6447 MB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/3.176, allocations: 7.812 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/3.176, allocations: 0 / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006935/3.176, allocations: 0.8088 MB / 1.898 GB, free: 346.5 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.002505/3.179, allocations: 1.679 MB / 1.899 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/3.179, allocations: 0 / 1.899 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/3.179, allocations: 79 kB / 1.9 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/3.179, allocations: 43.77 kB / 1.9 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/3.179, allocations: 14.03 kB / 1.9 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002801/3.18, allocations: 0.5679 MB / 1.9 GB, free: 345.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/3.18, allocations: 0 / 1.9 GB, free: 345.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/3.181, allocations: 0.9953 MB / 1.901 GB, free: 345.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/3.181, allocations: 266.7 kB / 1.901 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/3.182, allocations: 18.62 kB / 1.901 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/3.182, allocations: 63.61 kB / 1.901 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/3.182, allocations: 39.06 kB / 1.901 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/3.182, allocations: 21.62 kB / 1.901 GB, free: 345.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008008/3.183, allocations: 0.6649 MB / 1.902 GB, free: 345 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/3.183, allocations: 0 / 1.902 GB, free: 345 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002064/3.185, allocations: 0.5989 MB / 1.903 GB, free: 344.9 MB / 1.167 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 () * Number of clocked 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.0008265/3.186, allocations: 392.7 kB / 1.903 GB, free: 344.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001524/3.187, allocations: 1.007 MB / 1.904 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/3.187, allocations: 2.906 kB / 1.904 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/3.188, allocations: 233.6 kB / 1.904 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/3.19, allocations: 0.5557 MB / 1.905 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/3.194, allocations: 2.438 MB / 1.907 GB, free: 343.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/3.194, allocations: 1.248 MB / 1.908 GB, free: 342.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001261/3.196, allocations: 457.1 kB / 1.909 GB, free: 342.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/3.196, allocations: 77.69 kB / 1.909 GB, free: 342.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.362e-06/3.196, allocations: 1.594 kB / 1.909 GB, free: 342.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03385/3.23, allocations: 20.38 MB / 1.929 GB, free: 342 MB / 1.167 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