Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.435/2.435, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.002434/0.002434, allocations: 179.9 kB / 0.4902 GB, free: 2.23 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.805/1.805, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.001187/0.001186, allocations: 96.61 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004355, allocations: 6.875 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3595, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/5.976, allocations: 1.982 GB / 3.212 GB, free: 339.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.977, allocations: 89.89 kB / 3.212 GB, free: 339.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5422/6.519, allocations: 272.2 MB / 3.478 GB, free: 159.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.132e-06/6.519, allocations: 4 kB / 3.478 GB, free: 159.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.176e-05/6.519, allocations: 16 kB / 3.478 GB, free: 159.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002459/6.521, allocations: 0.9787 MB / 3.479 GB, free: 158.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/6.522, allocations: 8.562 kB / 3.479 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/6.523, allocations: 167 kB / 3.479 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/6.524, allocations: 0.5368 MB / 3.479 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/6.524, allocations: 41.31 kB / 3.479 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/6.524, allocations: 55.98 kB / 3.479 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/6.525, allocations: 0.637 MB / 3.48 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/6.525, allocations: 7.891 kB / 3.48 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/6.525, allocations: 27.94 kB / 3.48 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/6.525, allocations: 25.3 kB / 3.48 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/6.526, allocations: 0.5048 MB / 3.481 GB, free: 156.7 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.003123/6.529, allocations: 2.231 MB / 3.483 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/6.53, allocations: 254.7 kB / 3.483 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/6.53, allocations: 7.984 kB / 3.483 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/6.53, allocations: 38.56 kB / 3.483 GB, free: 154 MB / 1.167 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/6.53, allocations: 4 kB / 3.483 GB, free: 154 MB / 1.167 GB Notification: Performance of matching and sorting (n=20): time 0.001468/6.531, allocations: 0.6564 MB / 3.484 GB, free: 153.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/6.531, allocations: 81.11 kB / 3.484 GB, free: 153.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/6.532, allocations: 0.4941 MB / 3.484 GB, free: 152.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/6.532, allocations: 33.7 kB / 3.484 GB, free: 152.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/6.532, allocations: 331.4 kB / 3.485 GB, free: 152.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/6.532, allocations: 71 kB / 3.485 GB, free: 152.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/6.532, allocations: 8 kB / 3.485 GB, free: 152.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/6.532, allocations: 362.7 kB / 3.485 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/6.532, allocations: 132.5 kB / 3.485 GB, free: 151.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/6.533, allocations: 215.5 kB / 3.485 GB, free: 151.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/6.533, allocations: 173.5 kB / 3.485 GB, free: 151.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/6.533, allocations: 3.938 kB / 3.485 GB, free: 151.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007248/6.534, allocations: 482.7 kB / 3.486 GB, free: 150.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/6.534, allocations: 4 kB / 3.486 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/6.534, allocations: 7.938 kB / 3.486 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/6.534, allocations: 89.66 kB / 3.486 GB, free: 150.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/6.534, allocations: 71.91 kB / 3.486 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/6.536, allocations: 3.023 MB / 3.489 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/6.537, allocations: 63.73 kB / 3.489 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/6.537, allocations: 16 kB / 3.489 GB, free: 147.3 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003023/6.537, allocations: 221.7 kB / 3.489 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/6.537, allocations: 55.34 kB / 3.489 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/6.538, allocations: 52.52 kB / 3.489 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/6.538, allocations: 0 / 3.489 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/6.538, allocations: 7.984 kB / 3.489 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005083/6.538, allocations: 0.5201 MB / 3.49 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/6.539, allocations: 0.9037 MB / 3.491 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/6.539, allocations: 0 / 3.491 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/6.539, allocations: 43.98 kB / 3.491 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/6.54, allocations: 56.81 kB / 3.491 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/6.54, allocations: 7.953 kB / 3.491 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/6.541, allocations: 1.652 MB / 3.493 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.541, allocations: 4.438 kB / 3.493 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/6.541, allocations: 452.7 kB / 3.493 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/6.542, allocations: 168.5 kB / 3.493 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/6.542, allocations: 4 kB / 3.493 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/6.542, allocations: 39.91 kB / 3.493 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/6.542, allocations: 19.97 kB / 3.493 GB, free: 142.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/6.542, allocations: 19.98 kB / 3.493 GB, free: 142.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003633/6.543, allocations: 386.8 kB / 3.494 GB, free: 142.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/6.543, allocations: 0 / 3.494 GB, free: 142.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009918/6.544, allocations: 291.6 kB / 3.494 GB, free: 142.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/6.545, allocations: 0.9433 MB / 3.495 GB, free: 141.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008229/6.546, allocations: 0.5262 MB / 3.495 GB, free: 140.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/6.546, allocations: 4.562 kB / 3.495 GB, free: 140.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/6.546, allocations: 250.6 kB / 3.496 GB, free: 140.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/6.548, allocations: 351.2 kB / 3.496 GB, free: 140 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/6.549, allocations: 1.189 MB / 3.497 GB, free: 138.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/6.55, allocations: 0.9212 MB / 3.498 GB, free: 137.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004794/6.55, allocations: 112.8 kB / 3.498 GB, free: 137.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/6.55, allocations: 43.38 kB / 3.498 GB, free: 137.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/6.55, allocations: 0 / 3.498 GB, free: 137.6 MB / 1.167 GB Notification: Performance of Templates: time 0.0323/6.583, allocations: 23.28 MB / 3.521 GB, free: 114.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches