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.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001495/0.001495, allocations: 175.1 kB / 326.5 MB, free: 2.25 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.137/2.137, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009929/0.0009928, allocations: 90.16 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 8.094 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/6.073, allocations: 2.189 GB / 3.089 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/6.073, allocations: 91.06 kB / 3.09 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5015/6.575, allocations: 260.1 MB / 3.344 GB, free: 71.74 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/6.575, allocations: 0 / 3.344 GB, free: 71.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.609e-05/6.575, allocations: 23.92 kB / 3.344 GB, free: 71.71 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002878/6.578, allocations: 0.9897 MB / 3.345 GB, free: 70.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/6.578, allocations: 12.03 kB / 3.345 GB, free: 70.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/6.579, allocations: 174.9 kB / 3.345 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/6.58, allocations: 0.5369 MB / 3.345 GB, free: 69.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/6.58, allocations: 45.25 kB / 3.345 GB, free: 69.87 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/6.58, allocations: 52 kB / 3.345 GB, free: 69.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/6.582, allocations: 0.6566 MB / 3.346 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/6.582, allocations: 3.938 kB / 3.346 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/6.582, allocations: 28 kB / 3.346 GB, free: 69.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/6.582, allocations: 29.25 kB / 3.346 GB, free: 69.08 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/6.583, allocations: 0.5087 MB / 3.347 GB, free: 68.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/6.586, allocations: 2.274 MB / 3.349 GB, free: 66.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/6.587, allocations: 234.7 kB / 3.349 GB, free: 65.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/6.587, allocations: 0 / 3.349 GB, free: 65.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/6.587, allocations: 38.56 kB / 3.349 GB, free: 65.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/6.587, allocations: 0 / 3.349 GB, free: 65.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.001532/6.588, allocations: 0.6551 MB / 3.35 GB, free: 65.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/6.588, allocations: 89.05 kB / 3.35 GB, free: 65.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/6.589, allocations: 0.5098 MB / 3.35 GB, free: 64.53 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/6.589, allocations: 33.7 kB / 3.35 GB, free: 64.49 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/6.589, allocations: 339.3 kB / 3.351 GB, free: 64.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/6.589, allocations: 75 kB / 3.351 GB, free: 64.08 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/6.589, allocations: 4 kB / 3.351 GB, free: 64.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/6.589, allocations: 358.8 kB / 3.351 GB, free: 63.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/6.59, allocations: 124.6 kB / 3.351 GB, free: 63.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/6.59, allocations: 235.4 kB / 3.351 GB, free: 63.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/6.59, allocations: 159.9 kB / 3.351 GB, free: 63.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/6.59, allocations: 4 kB / 3.351 GB, free: 63.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007705/6.591, allocations: 482.8 kB / 3.352 GB, free: 62.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/6.591, allocations: 8 kB / 3.352 GB, free: 62.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/6.591, allocations: 7.938 kB / 3.352 GB, free: 62.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/6.591, allocations: 86 kB / 3.352 GB, free: 62.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/6.592, allocations: 75.84 kB / 3.352 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/6.594, allocations: 3.019 MB / 3.355 GB, free: 59.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/6.594, allocations: 71.56 kB / 3.355 GB, free: 59.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/6.594, allocations: 15.94 kB / 3.355 GB, free: 59.12 MB / 0.8855 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 () * 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.0003233/6.595, allocations: 221.7 kB / 3.355 GB, free: 58.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/6.595, allocations: 59.34 kB / 3.355 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/6.595, allocations: 56.67 kB / 3.355 GB, free: 58.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/6.595, allocations: 0 / 3.355 GB, free: 58.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/6.595, allocations: 7.953 kB / 3.355 GB, free: 58.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004919/6.595, allocations: 0.5167 MB / 3.356 GB, free: 58.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/6.597, allocations: 0.909 MB / 3.357 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/6.597, allocations: 4.375 kB / 3.357 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/6.597, allocations: 43.97 kB / 3.357 GB, free: 57.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/6.597, allocations: 72.77 kB / 3.357 GB, free: 57.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/6.597, allocations: 4 kB / 3.357 GB, free: 57.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/6.598, allocations: 1.644 MB / 3.359 GB, free: 55.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/6.598, allocations: 0 / 3.359 GB, free: 55.32 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/6.599, allocations: 452.8 kB / 3.359 GB, free: 54.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/6.599, allocations: 180.4 kB / 3.359 GB, free: 54.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/6.599, allocations: 4 kB / 3.359 GB, free: 54.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/6.6, allocations: 43.86 kB / 3.359 GB, free: 54.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/6.6, allocations: 19.92 kB / 3.359 GB, free: 54.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/6.6, allocations: 19.98 kB / 3.359 GB, free: 54.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003924/6.6, allocations: 410.8 kB / 3.36 GB, free: 54.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.9e-07/6.6, allocations: 0 / 3.36 GB, free: 54.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001073/6.601, allocations: 291.6 kB / 3.36 GB, free: 53.87 MB / 0.8855 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.001427/6.603, allocations: 0.9501 MB / 3.361 GB, free: 52.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008299/6.604, allocations: 0.5282 MB / 3.361 GB, free: 52.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/6.604, allocations: 448 / 3.361 GB, free: 52.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/6.604, allocations: 247.3 kB / 3.362 GB, free: 52.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/6.606, allocations: 363.8 kB / 3.362 GB, free: 51.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/6.607, allocations: 1.225 MB / 3.363 GB, free: 50.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/6.608, allocations: 0.9252 MB / 3.364 GB, free: 49.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005356/6.608, allocations: 112.9 kB / 3.364 GB, free: 49.44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/6.608, allocations: 43.38 kB / 3.364 GB, free: 49.4 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/6.608, allocations: 0 / 3.364 GB, free: 49.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.02992/6.638, allocations: 23.77 MB / 3.387 GB, free: 25.79 MB / 0.8855 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