Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001349/0.001349, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.567/1.567, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.001041/0.001041, allocations: 92.83 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.687e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.516/6.845, allocations: 1.982 GB / 3.194 GB, free: 347.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/6.845, allocations: 81.92 kB / 3.194 GB, free: 347.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5841/7.429, allocations: 271.9 MB / 3.46 GB, free: 70 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.124e-06/7.429, allocations: 3.938 kB / 3.46 GB, free: 70 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.477e-05/7.429, allocations: 16 kB / 3.46 GB, free: 69.98 MB / 1.151 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.002799/7.432, allocations: 0.9006 MB / 3.461 GB, free: 69.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/7.432, allocations: 8.031 kB / 3.461 GB, free: 69.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/7.433, allocations: 163 kB / 3.461 GB, free: 68.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/7.435, allocations: 0.5315 MB / 3.461 GB, free: 68.29 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/7.435, allocations: 41.31 kB / 3.461 GB, free: 68.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/7.435, allocations: 51.94 kB / 3.461 GB, free: 68.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/7.436, allocations: 0.6138 MB / 3.462 GB, free: 67.57 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/7.436, allocations: 7.922 kB / 3.462 GB, free: 67.56 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/7.436, allocations: 27.95 kB / 3.462 GB, free: 67.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/7.436, allocations: 25.3 kB / 3.462 GB, free: 67.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/7.437, allocations: 469.1 kB / 3.462 GB, free: 67.05 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003565/7.441, allocations: 2.25 MB / 3.465 GB, free: 64.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/7.441, allocations: 223.2 kB / 3.465 GB, free: 64.41 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/7.441, allocations: 116.8 kB / 3.465 GB, free: 64.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/7.441, allocations: 4 kB / 3.465 GB, free: 64.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/7.441, allocations: 42.56 kB / 3.465 GB, free: 64.24 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.796e-06/7.441, allocations: 0 / 3.465 GB, free: 64.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0009145/7.442, allocations: 335.5 kB / 3.465 GB, free: 63.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/7.442, allocations: 77.11 kB / 3.465 GB, free: 63.81 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/7.443, allocations: 0.4928 MB / 3.466 GB, free: 63.31 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/7.443, allocations: 33.7 kB / 3.466 GB, free: 63.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/7.443, allocations: 331.4 kB / 3.466 GB, free: 62.94 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/7.443, allocations: 78.92 kB / 3.466 GB, free: 62.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/7.443, allocations: 11.94 kB / 3.466 GB, free: 62.85 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/7.444, allocations: 358.8 kB / 3.467 GB, free: 62.49 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/7.444, allocations: 112.6 kB / 3.467 GB, free: 62.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/7.444, allocations: 195.5 kB / 3.467 GB, free: 62.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/7.444, allocations: 152.5 kB / 3.467 GB, free: 62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.444, allocations: 0 / 3.467 GB, free: 62 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007623/7.445, allocations: 478.6 kB / 3.468 GB, free: 61.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/7.445, allocations: 4 kB / 3.468 GB, free: 61.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.445, allocations: 8 kB / 3.468 GB, free: 61.51 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/7.445, allocations: 85.66 kB / 3.468 GB, free: 61.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/7.446, allocations: 79.84 kB / 3.468 GB, free: 61.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/7.448, allocations: 2.972 MB / 3.471 GB, free: 58.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/7.448, allocations: 67.56 kB / 3.471 GB, free: 58.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/7.449, allocations: 12 kB / 3.471 GB, free: 58.02 MB / 1.151 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 () * 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.0001344/7.449, allocations: 126.5 kB / 3.471 GB, free: 57.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/7.449, allocations: 59.42 kB / 3.471 GB, free: 57.84 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/7.449, allocations: 52.3 kB / 3.471 GB, free: 57.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/7.449, allocations: 4 kB / 3.471 GB, free: 57.78 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/7.449, allocations: 0 / 3.471 GB, free: 57.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004859/7.449, allocations: 0.5032 MB / 3.471 GB, free: 57.21 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/7.451, allocations: 0.8928 MB / 3.472 GB, free: 56.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/7.451, allocations: 0 / 3.472 GB, free: 56.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/7.451, allocations: 47.84 kB / 3.472 GB, free: 56.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/7.451, allocations: 60.89 kB / 3.472 GB, free: 56.14 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/7.451, allocations: 3.984 kB / 3.472 GB, free: 56.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/7.452, allocations: 1.625 MB / 3.474 GB, free: 54.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/7.452, allocations: 192 / 3.474 GB, free: 54.38 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/7.453, allocations: 441.8 kB / 3.474 GB, free: 53.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/7.453, allocations: 164.4 kB / 3.475 GB, free: 53.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/7.453, allocations: 8 kB / 3.475 GB, free: 53.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/7.454, allocations: 39.91 kB / 3.475 GB, free: 53.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/7.454, allocations: 19.97 kB / 3.475 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/7.454, allocations: 19.94 kB / 3.475 GB, free: 53.64 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004739/7.454, allocations: 385.5 kB / 3.475 GB, free: 53.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/7.454, allocations: 0 / 3.475 GB, free: 53.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001195/7.456, allocations: 295.5 kB / 3.475 GB, free: 52.98 MB / 1.151 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.001556/7.457, allocations: 0.9545 MB / 3.476 GB, free: 52.03 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007721/7.458, allocations: 495.6 kB / 3.477 GB, free: 51.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/7.458, allocations: 4 kB / 3.477 GB, free: 51.52 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/7.458, allocations: 239.1 kB / 3.477 GB, free: 51.27 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/7.46, allocations: 348.4 kB / 3.477 GB, free: 50.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/7.461, allocations: 0.659 MB / 3.478 GB, free: 50.24 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/7.462, allocations: 0.9213 MB / 3.479 GB, free: 49.29 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005831/7.462, allocations: 104.8 kB / 3.479 GB, free: 49.19 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/7.462, allocations: 43.38 kB / 3.479 GB, free: 49.15 MB / 1.151 GB Notification: Performance of SimCode: time 4.3e-07/7.462, allocations: 0 / 3.479 GB, free: 49.15 MB / 1.151 GB Notification: Performance of Templates: time 0.03556/7.498, allocations: 25.87 MB / 3.504 GB, free: 23.41 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches