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.466/1.466, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001229, allocations: 188.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009797/0.0009798, allocations: 92.42 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 15.73 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.711/5.988, allocations: 2.222 GB / 3.122 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/5.988, allocations: 95.83 kB / 3.122 GB, free: 323.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.529/7.517, allocations: 458.8 MB / 3.57 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.332e-06/7.517, allocations: 0 / 3.57 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001605/7.517, allocations: 35.23 kB / 3.57 GB, free: 208.4 MB / 0.8855 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.006298/7.523, allocations: 1.633 MB / 3.572 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/7.523, allocations: 10.03 kB / 3.572 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/7.526, allocations: 289.9 kB / 3.572 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/7.529, allocations: 0.8336 MB / 3.573 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.524e-05/7.529, allocations: 60.84 kB / 3.573 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/7.529, allocations: 64.33 kB / 3.573 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/7.532, allocations: 0.983 MB / 3.574 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/7.532, allocations: 2.812 kB / 3.574 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/7.532, allocations: 40.53 kB / 3.574 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/7.532, allocations: 72.14 kB / 3.574 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/7.534, allocations: 0.9804 MB / 3.575 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006736/7.54, allocations: 3.594 MB / 3.579 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/7.541, allocations: 0.6428 MB / 3.579 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/7.542, allocations: 193.7 kB / 3.579 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/7.542, allocations: 49.19 kB / 3.579 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=62): time 2.474e-06/7.542, allocations: 0 / 3.579 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62): time 0.001966/7.544, allocations: 1.004 MB / 3.58 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/7.544, allocations: 107.3 kB / 3.58 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/7.545, allocations: 0.7108 MB / 3.581 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.131e-05/7.545, allocations: 39.92 kB / 3.581 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/7.545, allocations: 424.3 kB / 3.582 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/7.546, allocations: 221.7 kB / 3.582 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/7.546, allocations: 14.59 kB / 3.582 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/7.546, allocations: 332 kB / 3.582 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/7.546, allocations: 316.1 kB / 3.582 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/7.547, allocations: 447.1 kB / 3.583 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/7.547, allocations: 391.2 kB / 3.583 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/7.547, allocations: 0 / 3.583 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001433/7.549, allocations: 0.8943 MB / 3.584 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/7.549, allocations: 0.6979 MB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/7.549, allocations: 6.125 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/7.549, allocations: 7.5 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/7.55, allocations: 149.1 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/7.55, allocations: 10.75 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/7.551, allocations: 108.7 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/7.551, allocations: 25.62 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/7.551, allocations: 10.7 kB / 3.585 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/7.552, allocations: 0.7478 MB / 3.586 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/7.552, allocations: 3.844 kB / 3.586 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/7.552, allocations: 7.844 kB / 3.586 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/7.553, allocations: 145.8 kB / 3.586 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/7.553, allocations: 5.438 kB / 3.586 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/7.554, allocations: 100.6 kB / 3.586 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/7.554, allocations: 30.16 kB / 3.586 GB, free: 203.7 MB / 0.8855 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 () * Number of clocked 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.0006132/7.555, allocations: 364.8 kB / 3.586 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/7.555, allocations: 91.89 kB / 3.587 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/7.556, allocations: 0.809 MB / 3.587 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/7.556, allocations: 3.781 kB / 3.587 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/7.556, allocations: 0 / 3.587 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009426/7.557, allocations: 0.7343 MB / 3.588 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/7.561, allocations: 2.08 MB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/7.561, allocations: 3.938 kB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/7.561, allocations: 136 kB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/7.561, allocations: 6.812 kB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/7.561, allocations: 17.81 kB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/7.561, allocations: 7.781 kB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/7.562, allocations: 11.83 kB / 3.59 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/7.563, allocations: 1.54 MB / 3.592 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/7.564, allocations: 273.9 kB / 3.592 GB, free: 202 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/7.564, allocations: 19.02 kB / 3.592 GB, free: 202 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/7.565, allocations: 52.66 kB / 3.592 GB, free: 202 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/7.565, allocations: 48.36 kB / 3.592 GB, free: 202 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/7.565, allocations: 25.48 kB / 3.592 GB, free: 202 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008152/7.566, allocations: 0.5522 MB / 3.593 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/7.566, allocations: 3 kB / 3.593 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003547/7.57, allocations: 0.9248 MB / 3.594 GB, free: 201.6 MB / 0.8855 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 () * Number of clocked 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.004163/7.574, allocations: 1.754 MB / 3.595 GB, free: 201 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002036/7.576, allocations: 1.136 MB / 3.596 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/7.576, allocations: 0 / 3.596 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005121/7.576, allocations: 365.7 kB / 3.597 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/7.579, allocations: 0.5111 MB / 3.597 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/7.583, allocations: 2.263 MB / 3.6 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/7.584, allocations: 1.097 MB / 3.601 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001632/7.585, allocations: 410.6 kB / 3.601 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/7.586, allocations: 72.92 kB / 3.601 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/7.586, allocations: 0 / 3.601 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.05585/7.642, allocations: 37.13 MB / 3.637 GB, free: 174.4 MB / 0.8855 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