Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001083/0.001083, allocations: 184.9 kB / 321.3 MB, free: 14.64 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.499/1.499, 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.001075/0.001075, allocations: 85.3 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.729e-05/4.732e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2808, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.024/7.304, allocations: 2.189 GB / 3.081 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/7.305, allocations: 86.33 kB / 3.081 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.246/8.551, allocations: 259.9 MB / 3.335 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/8.551, allocations: 0 / 3.335 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.017e-05/8.551, allocations: 19.98 kB / 3.335 GB, free: 226.3 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002125/8.553, allocations: 0.9233 MB / 3.336 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/8.553, allocations: 8.031 kB / 3.336 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/8.554, allocations: 160.4 kB / 3.336 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/8.555, allocations: 0.5372 MB / 3.336 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/8.555, allocations: 45.3 kB / 3.337 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/8.555, allocations: 56 kB / 3.337 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/8.557, allocations: 0.6333 MB / 3.337 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/8.557, allocations: 7.891 kB / 3.337 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/8.557, allocations: 24 kB / 3.337 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/8.557, allocations: 25.31 kB / 3.337 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/8.557, allocations: 473.1 kB / 3.338 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/8.56, allocations: 2.27 MB / 3.34 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/8.561, allocations: 232 kB / 3.34 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/8.561, allocations: 108.8 kB / 3.34 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/8.561, allocations: 4 kB / 3.34 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/8.561, allocations: 42.5 kB / 3.34 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 4.007e-06/8.561, allocations: 3.938 kB / 3.34 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0008752/8.562, allocations: 336.3 kB / 3.341 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/8.562, allocations: 81.11 kB / 3.341 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/8.563, allocations: 0.5046 MB / 3.341 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/8.563, allocations: 33.7 kB / 3.341 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/8.563, allocations: 335.3 kB / 3.342 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/8.563, allocations: 75.02 kB / 3.342 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/8.563, allocations: 8 kB / 3.342 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000147/8.563, allocations: 362.8 kB / 3.342 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/8.563, allocations: 104.6 kB / 3.342 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/8.564, allocations: 215.9 kB / 3.342 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/8.564, allocations: 138.2 kB / 3.342 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/8.564, allocations: 0 / 3.342 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007382/8.564, allocations: 479.6 kB / 3.343 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/8.565, allocations: 8 kB / 3.343 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/8.565, allocations: 4 kB / 3.343 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/8.565, allocations: 89.61 kB / 3.343 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/8.565, allocations: 71.84 kB / 3.343 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/8.568, allocations: 2.983 MB / 3.346 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/8.568, allocations: 67.48 kB / 3.346 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/8.568, allocations: 16 kB / 3.346 GB, free: 214.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000121/8.569, allocations: 124.9 kB / 3.346 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/8.569, allocations: 55.44 kB / 3.346 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/8.569, allocations: 60.41 kB / 3.346 GB, free: 214 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/8.569, allocations: 4 kB / 3.346 GB, free: 214 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/8.569, allocations: 0 / 3.346 GB, free: 214 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005294/8.569, allocations: 0.4941 MB / 3.347 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/8.571, allocations: 0.9001 MB / 3.348 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/8.571, allocations: 7.953 kB / 3.348 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/8.571, allocations: 39.97 kB / 3.348 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/8.571, allocations: 64.88 kB / 3.348 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/8.571, allocations: 4 kB / 3.348 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/8.572, allocations: 1.621 MB / 3.349 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/8.572, allocations: 0 / 3.349 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/8.573, allocations: 444.7 kB / 3.35 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/8.573, allocations: 180.4 kB / 3.35 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/8.573, allocations: 7.953 kB / 3.35 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/8.574, allocations: 39.88 kB / 3.35 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/8.574, allocations: 23.97 kB / 3.35 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/8.574, allocations: 15.98 kB / 3.35 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00042/8.574, allocations: 401.5 kB / 3.35 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.574, allocations: 0 / 3.35 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001082/8.575, allocations: 295.6 kB / 3.351 GB, free: 209.2 MB / 0.8698 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 () * 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.001335/8.577, allocations: 0.9415 MB / 3.352 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006626/8.577, allocations: 0.4956 MB / 3.352 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/8.577, allocations: 4.438 kB / 3.352 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/8.577, allocations: 227.3 kB / 3.352 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/8.579, allocations: 363.2 kB / 3.353 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/8.58, allocations: 0.6691 MB / 3.353 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/8.58, allocations: 0.9407 MB / 3.354 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004393/8.581, allocations: 112.9 kB / 3.354 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/8.581, allocations: 43.44 kB / 3.354 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of SimCode: time 6.72e-07/8.581, allocations: 0 / 3.354 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.03335/8.614, allocations: 26.35 MB / 3.38 GB, free: 179 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches