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.435/1.435, allocations: 249.3 MB / 261.9 MB, free: 5.895 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.000988/0.000988, allocations: 180.9 kB / 321.3 MB, free: 14.65 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.677/1.677, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008159/0.0008157, allocations: 93.27 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.663e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2312, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.573/6.804, allocations: 2.222 GB / 3.114 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/6.805, allocations: 88.39 kB / 3.114 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.179/8.984, allocations: 458.3 MB / 3.561 GB, free: 177 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/8.984, allocations: 0 / 3.561 GB, free: 177 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001906/8.984, allocations: 33.56 kB / 3.561 GB, free: 177 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.006676/8.991, allocations: 1.48 MB / 3.563 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/8.991, allocations: 8.938 kB / 3.563 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/8.994, allocations: 287.9 kB / 3.563 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/8.997, allocations: 0.829 MB / 3.564 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/8.997, allocations: 55.8 kB / 3.564 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004706/8.998, allocations: 70.56 kB / 3.564 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/9.001, allocations: 0.97 MB / 3.565 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/9.002, allocations: 0 / 3.565 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/9.002, allocations: 29.88 kB / 3.565 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002465/9.002, allocations: 71.69 kB / 3.565 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/9.005, allocations: 0.9615 MB / 3.566 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/9.015, allocations: 3.597 MB / 3.57 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/9.016, allocations: 0.6323 MB / 3.57 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/9.017, allocations: 364.8 kB / 3.57 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/9.017, allocations: 193.5 kB / 3.571 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/9.017, allocations: 44.78 kB / 3.571 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 4.809e-06/9.017, allocations: 3.891 kB / 3.571 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.002012/9.019, allocations: 0.731 MB / 3.571 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/9.019, allocations: 118 kB / 3.572 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/9.021, allocations: 0.6988 MB / 3.572 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/9.021, allocations: 38.58 kB / 3.572 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/9.021, allocations: 418.9 kB / 3.573 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/9.022, allocations: 222.3 kB / 3.573 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/9.022, allocations: 13.97 kB / 3.573 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000138/9.022, allocations: 334.1 kB / 3.573 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/9.023, allocations: 310.5 kB / 3.574 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/9.023, allocations: 438.8 kB / 3.574 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/9.024, allocations: 389 kB / 3.574 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/9.024, allocations: 0 / 3.574 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001864/9.026, allocations: 0.8791 MB / 3.575 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/9.026, allocations: 0.7081 MB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/9.026, allocations: 2.438 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/9.026, allocations: 6.156 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/9.027, allocations: 151.8 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/9.027, allocations: 7.875 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/9.028, allocations: 102.2 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/9.028, allocations: 28.7 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/9.028, allocations: 4.062 kB / 3.576 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/9.03, allocations: 0.7375 MB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/9.03, allocations: 1.125 kB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/9.03, allocations: 5.188 kB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/9.031, allocations: 144.4 kB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/9.031, allocations: 5.859 kB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/9.032, allocations: 109.4 kB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/9.032, allocations: 26.69 kB / 3.577 GB, free: 172.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0002345/9.032, allocations: 143.8 kB / 3.577 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/9.032, allocations: 92.28 kB / 3.577 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/9.034, allocations: 0.7876 MB / 3.578 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/9.034, allocations: 5.688 kB / 3.578 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/9.034, allocations: 5.219 kB / 3.578 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/9.035, allocations: 0.7257 MB / 3.579 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/9.039, allocations: 2.07 MB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/9.039, allocations: 4.125 kB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/9.039, allocations: 135.3 kB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/9.04, allocations: 6.875 kB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/9.04, allocations: 20.77 kB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/9.04, allocations: 9.234 kB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/9.04, allocations: 11.39 kB / 3.581 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/9.042, allocations: 1.53 MB / 3.583 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/9.042, allocations: 264.9 kB / 3.583 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/9.043, allocations: 14.83 kB / 3.583 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/9.043, allocations: 55.05 kB / 3.583 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/9.043, allocations: 51.59 kB / 3.583 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.953e-05/9.043, allocations: 22.56 kB / 3.583 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008824/9.044, allocations: 0.5533 MB / 3.583 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/9.044, allocations: 0 / 3.583 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003583/9.048, allocations: 0.9229 MB / 3.584 GB, free: 171.1 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.003766/9.052, allocations: 1.75 MB / 3.586 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002417/9.054, allocations: 1.151 MB / 3.587 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/9.054, allocations: 8.625 kB / 3.587 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/9.055, allocations: 358.7 kB / 3.588 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/9.058, allocations: 0.5054 MB / 3.588 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/9.061, allocations: 1.495 MB / 3.59 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/9.061, allocations: 1.102 MB / 3.591 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001929/9.063, allocations: 495.2 kB / 3.591 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/9.064, allocations: 63.91 kB / 3.591 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of SimCode: time 9.62e-07/9.064, allocations: 0 / 3.591 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.06333/9.127, allocations: 42.26 MB / 3.632 GB, free: 168.5 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