Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.949 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.001101/0.001101, allocations: 188.8 kB / 316.3 MB, free: 3.234 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.802/1.802, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008991/0.0008994, allocations: 104.6 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.848e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2308, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.857/7.088, allocations: 2.222 GB / 3.107 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/7.088, allocations: 87.94 kB / 3.107 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/8.665, allocations: 453.1 MB / 3.55 GB, free: 70.54 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/8.665, allocations: 0 / 3.55 GB, free: 70.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.621e-05/8.665, allocations: 35.86 kB / 3.55 GB, free: 70.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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.004311/8.669, allocations: 1.476 MB / 3.551 GB, free: 68.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/8.67, allocations: 8.031 kB / 3.551 GB, free: 68.97 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/8.671, allocations: 294.4 kB / 3.552 GB, free: 68.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/8.673, allocations: 0.8316 MB / 3.553 GB, free: 67.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/8.673, allocations: 24 kB / 3.553 GB, free: 67.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/8.673, allocations: 36 kB / 3.553 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/8.674, allocations: 0.8583 MB / 3.553 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/8.676, allocations: 0.8821 MB / 3.554 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/8.676, allocations: 0 / 3.554 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/8.676, allocations: 3.953 kB / 3.554 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/8.676, allocations: 69.95 kB / 3.554 GB, free: 65.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/8.681, allocations: 3.423 MB / 3.558 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/8.682, allocations: 0.8502 MB / 3.559 GB, free: 61.35 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/8.682, allocations: 342.4 kB / 3.559 GB, free: 61.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/8.682, allocations: 206.7 kB / 3.559 GB, free: 60.78 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/8.682, allocations: 43.12 kB / 3.559 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 2.805e-06/8.682, allocations: 0 / 3.559 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.00145/8.684, allocations: 0.701 MB / 3.56 GB, free: 60.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/8.684, allocations: 107.4 kB / 3.56 GB, free: 59.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/8.684, allocations: 0.5545 MB / 3.56 GB, free: 59.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/8.684, allocations: 29.7 kB / 3.56 GB, free: 59.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/8.685, allocations: 419.7 kB / 3.561 GB, free: 58.88 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/8.685, allocations: 212.8 kB / 3.561 GB, free: 58.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/8.685, allocations: 0 / 3.561 GB, free: 58.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001161/8.685, allocations: 386.8 kB / 3.561 GB, free: 58.28 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/8.685, allocations: 293.5 kB / 3.562 GB, free: 57.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/8.686, allocations: 427.7 kB / 3.562 GB, free: 57.53 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004952/8.691, allocations: 1.261 MB / 3.563 GB, free: 56.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/8.691, allocations: 0 / 3.563 GB, free: 56.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005733/8.696, allocations: 1.717 MB / 3.565 GB, free: 54.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/8.697, allocations: 0.8762 MB / 3.566 GB, free: 53.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/8.697, allocations: 8 kB / 3.566 GB, free: 53.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/8.697, allocations: 4 kB / 3.566 GB, free: 53.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/8.697, allocations: 147.8 kB / 3.566 GB, free: 53.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/8.697, allocations: 11.95 kB / 3.566 GB, free: 53.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/8.698, allocations: 79.33 kB / 3.566 GB, free: 53.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/8.699, allocations: 31.98 kB / 3.566 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/8.699, allocations: 4 kB / 3.566 GB, free: 53.31 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005125/8.704, allocations: 1.525 MB / 3.568 GB, free: 51.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/8.704, allocations: 3.984 kB / 3.568 GB, free: 51.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/8.704, allocations: 8 kB / 3.568 GB, free: 51.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/8.704, allocations: 143.8 kB / 3.568 GB, free: 51.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/8.704, allocations: 4 kB / 3.568 GB, free: 51.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/8.705, allocations: 75.67 kB / 3.568 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/8.705, allocations: 35.92 kB / 3.568 GB, free: 51.52 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002039/8.706, allocations: 113 kB / 3.568 GB, free: 51.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/8.706, allocations: 90.94 kB / 3.568 GB, free: 51.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/8.707, allocations: 0.7257 MB / 3.569 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/8.707, allocations: 4 kB / 3.569 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/8.707, allocations: 0 / 3.569 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008084/8.708, allocations: 0.6814 MB / 3.569 GB, free: 49.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/8.711, allocations: 1.989 MB / 3.571 GB, free: 47.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/8.711, allocations: 4 kB / 3.571 GB, free: 47.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/8.711, allocations: 139.8 kB / 3.572 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/8.711, allocations: 4.438 kB / 3.572 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/8.711, allocations: 19.95 kB / 3.572 GB, free: 47.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/8.711, allocations: 4 kB / 3.572 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/8.711, allocations: 7.938 kB / 3.572 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/8.713, allocations: 1.43 MB / 3.573 GB, free: 46.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/8.713, allocations: 247.9 kB / 3.573 GB, free: 45.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/8.713, allocations: 11.98 kB / 3.573 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/8.714, allocations: 35.97 kB / 3.573 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/8.714, allocations: 52.27 kB / 3.573 GB, free: 45.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/8.714, allocations: 20 kB / 3.573 GB, free: 45.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000494/8.715, allocations: 439.1 kB / 3.574 GB, free: 45.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/8.715, allocations: 0 / 3.574 GB, free: 45.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002744/8.717, allocations: 0.8692 MB / 3.575 GB, free: 44.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003031/8.721, allocations: 1.919 MB / 3.576 GB, free: 42.37 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001595/8.722, allocations: 1.051 MB / 3.578 GB, free: 41.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/8.722, allocations: 0 / 3.578 GB, free: 41.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/8.722, allocations: 327.1 kB / 3.578 GB, free: 40.99 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/8.725, allocations: 450.1 kB / 3.578 GB, free: 40.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/8.727, allocations: 1.42 MB / 3.58 GB, free: 39.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/8.728, allocations: 1.097 MB / 3.581 GB, free: 37.93 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00138/8.729, allocations: 418.4 kB / 3.581 GB, free: 37.51 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/8.729, allocations: 67.42 kB / 3.581 GB, free: 37.45 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/8.729, allocations: 0 / 3.581 GB, free: 37.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.03806/8.767, allocations: 27.54 MB / 3.608 GB, free: 10.02 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches