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.576/2.576, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001192/0.001192, allocations: 174.1 kB / 498.1 MB, free: 5.723 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.807/1.807, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.001023/0.001023, allocations: 94.94 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004935, allocations: 7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3998, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.423, allocations: 1.982 GB / 3.205 GB, free: 7.984 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.424, allocations: 91.89 kB / 3.205 GB, free: 7.934 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.222/6.645, allocations: 272.2 MB / 3.47 GB, free: 213.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.094e-06/6.645, allocations: 4 kB / 3.47 GB, free: 213.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.898e-05/6.645, allocations: 19.94 kB / 3.47 GB, free: 213.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.002696/6.648, allocations: 0.9832 MB / 3.471 GB, free: 212.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/6.648, allocations: 12.03 kB / 3.471 GB, free: 212.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/6.649, allocations: 155 kB / 3.472 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/6.651, allocations: 0.5447 MB / 3.472 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/6.651, allocations: 41.31 kB / 3.472 GB, free: 211.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/6.651, allocations: 48 kB / 3.472 GB, free: 211.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/6.652, allocations: 0.6448 MB / 3.473 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/6.652, allocations: 0 / 3.473 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/6.652, allocations: 31.92 kB / 3.473 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/6.652, allocations: 21.31 kB / 3.473 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/6.653, allocations: 0.5048 MB / 3.473 GB, free: 210.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.00339/6.656, allocations: 2.239 MB / 3.476 GB, free: 208.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/6.657, allocations: 256.3 kB / 3.476 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/6.657, allocations: 0 / 3.476 GB, free: 208 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/6.657, allocations: 42.86 kB / 3.476 GB, free: 208 MB / 1.167 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/6.657, allocations: 3.984 kB / 3.476 GB, free: 208 MB / 1.167 GB Notification: Performance of matching and sorting (n=20): time 0.001554/6.659, allocations: 0.6506 MB / 3.477 GB, free: 207.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/6.659, allocations: 85.11 kB / 3.477 GB, free: 207.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/6.659, allocations: 0.4941 MB / 3.477 GB, free: 206.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/6.659, allocations: 33.7 kB / 3.477 GB, free: 206.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/6.659, allocations: 339.3 kB / 3.477 GB, free: 206.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/6.659, allocations: 71 kB / 3.477 GB, free: 206.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/6.66, allocations: 8 kB / 3.478 GB, free: 206.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/6.66, allocations: 358.8 kB / 3.478 GB, free: 205.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/6.66, allocations: 136.5 kB / 3.478 GB, free: 205.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/6.66, allocations: 216.8 kB / 3.478 GB, free: 205.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/6.66, allocations: 167.9 kB / 3.478 GB, free: 205.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/6.66, allocations: 3.953 kB / 3.478 GB, free: 205.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007618/6.661, allocations: 486.6 kB / 3.479 GB, free: 204.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/6.661, allocations: 8 kB / 3.479 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/6.661, allocations: 0 / 3.479 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/6.662, allocations: 85.66 kB / 3.479 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/6.662, allocations: 71.91 kB / 3.479 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/6.664, allocations: 3.027 MB / 3.482 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/6.665, allocations: 67.44 kB / 3.482 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/6.665, allocations: 8 kB / 3.482 GB, free: 201.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.0003344/6.665, allocations: 225.7 kB / 3.482 GB, free: 201.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/6.665, allocations: 55.34 kB / 3.482 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/6.666, allocations: 56.5 kB / 3.482 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/6.666, allocations: 4 kB / 3.482 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/6.666, allocations: 0 / 3.482 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005365/6.666, allocations: 0.5158 MB / 3.483 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/6.667, allocations: 0.908 MB / 3.484 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/6.667, allocations: 0 / 3.484 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/6.668, allocations: 35.98 kB / 3.484 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/6.668, allocations: 64.8 kB / 3.484 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/6.668, allocations: 4 kB / 3.484 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/6.669, allocations: 1.64 MB / 3.485 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.669, allocations: 15.86 kB / 3.485 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/6.67, allocations: 457.7 kB / 3.486 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/6.67, allocations: 160.4 kB / 3.486 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/6.67, allocations: 11.94 kB / 3.486 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/6.671, allocations: 39.83 kB / 3.486 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/6.671, allocations: 19.97 kB / 3.486 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/6.671, allocations: 15.98 kB / 3.486 GB, free: 196.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004044/6.671, allocations: 394.8 kB / 3.486 GB, free: 196.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.82e-07/6.671, allocations: 0 / 3.486 GB, free: 196.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001108/6.672, allocations: 291.5 kB / 3.487 GB, free: 196.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.001505/6.674, allocations: 0.9314 MB / 3.488 GB, free: 195.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008813/6.675, allocations: 0.5292 MB / 3.488 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.675, allocations: 0 / 3.488 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/6.675, allocations: 255.2 kB / 3.488 GB, free: 194.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/6.677, allocations: 369 kB / 3.489 GB, free: 194 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/6.678, allocations: 1.179 MB / 3.49 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/6.679, allocations: 0.9213 MB / 3.491 GB, free: 191.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005503/6.679, allocations: 108.8 kB / 3.491 GB, free: 191.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/6.679, allocations: 35.44 kB / 3.491 GB, free: 191.7 MB / 1.167 GB Notification: Performance of SimCode: time 5.71e-07/6.679, allocations: 3.938 kB / 3.491 GB, free: 191.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0321/6.712, allocations: 23.27 MB / 3.514 GB, free: 168.6 MB / 1.167 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