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.045/2.045, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009907/0.000991, allocations: 180.8 kB / 487.4 MB, free: 5.07 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.419/1.419, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.000893, allocations: 103.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.961e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2569, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.749/5.006, allocations: 1.981 GB / 3.187 GB, free: 369.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/5.007, allocations: 92.33 kB / 3.187 GB, free: 369.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4951/5.502, allocations: 268.7 MB / 3.449 GB, free: 95.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/5.502, allocations: 3.938 kB / 3.449 GB, free: 95.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.723e-05/5.502, allocations: 19.98 kB / 3.449 GB, free: 95.78 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.002114/5.504, allocations: 0.9094 MB / 3.45 GB, free: 94.83 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/5.504, allocations: 12.03 kB / 3.45 GB, free: 94.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/5.505, allocations: 155.1 kB / 3.451 GB, free: 94.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/5.506, allocations: 0.5315 MB / 3.451 GB, free: 94.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/5.506, allocations: 20 kB / 3.451 GB, free: 94.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/5.506, allocations: 28 kB / 3.451 GB, free: 94.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007254/5.507, allocations: 446.5 kB / 3.452 GB, free: 93.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/5.508, allocations: 0.5388 MB / 3.452 GB, free: 93.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/5.508, allocations: 3.953 kB / 3.452 GB, free: 93.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/5.508, allocations: 0 / 3.452 GB, free: 93.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/5.508, allocations: 21.31 kB / 3.452 GB, free: 93.03 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.002864/5.511, allocations: 2.108 MB / 3.454 GB, free: 90.78 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/5.511, allocations: 222.9 kB / 3.454 GB, free: 90.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/5.511, allocations: 109.2 kB / 3.454 GB, free: 90.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/5.511, allocations: 7.953 kB / 3.454 GB, free: 90.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/5.512, allocations: 38.56 kB / 3.454 GB, free: 90.39 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/5.512, allocations: 0 / 3.454 GB, free: 90.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0007105/5.512, allocations: 311.6 kB / 3.455 GB, free: 90.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/5.512, allocations: 81.11 kB / 3.455 GB, free: 89.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/5.513, allocations: 365.1 kB / 3.455 GB, free: 89.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/5.513, allocations: 29.7 kB / 3.455 GB, free: 89.58 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/5.513, allocations: 338.9 kB / 3.456 GB, free: 89.24 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/5.513, allocations: 74.94 kB / 3.456 GB, free: 89.17 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/5.513, allocations: 0 / 3.456 GB, free: 89.17 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/5.513, allocations: 346.8 kB / 3.456 GB, free: 88.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/5.513, allocations: 104.6 kB / 3.456 GB, free: 88.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/5.513, allocations: 191.2 kB / 3.456 GB, free: 88.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/5.514, allocations: 144.4 kB / 3.456 GB, free: 88.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/5.514, allocations: 0 / 3.456 GB, free: 88.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006334/5.514, allocations: 426.8 kB / 3.457 GB, free: 87.92 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/5.514, allocations: 10.19 kB / 3.457 GB, free: 87.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/5.514, allocations: 0 / 3.457 GB, free: 87.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/5.515, allocations: 89.61 kB / 3.457 GB, free: 87.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/5.515, allocations: 79.86 kB / 3.457 GB, free: 87.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/5.517, allocations: 2.841 MB / 3.46 GB, free: 84.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/5.517, allocations: 43.8 kB / 3.46 GB, free: 84.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/5.517, allocations: 12 kB / 3.46 GB, free: 84.61 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.000108/5.517, allocations: 117.6 kB / 3.46 GB, free: 84.49 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/5.517, allocations: 55.36 kB / 3.46 GB, free: 84.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/5.518, allocations: 39.53 kB / 3.46 GB, free: 84.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/5.518, allocations: 4 kB / 3.46 GB, free: 84.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/5.518, allocations: 0 / 3.46 GB, free: 84.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004453/5.518, allocations: 492.4 kB / 3.46 GB, free: 83.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/5.519, allocations: 0.8023 MB / 3.461 GB, free: 82.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/5.519, allocations: 0 / 3.461 GB, free: 82.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/5.519, allocations: 52.14 kB / 3.461 GB, free: 82.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/5.519, allocations: 60.88 kB / 3.461 GB, free: 82.88 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/5.519, allocations: 4 kB / 3.461 GB, free: 82.87 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/5.52, allocations: 1.553 MB / 3.463 GB, free: 81.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/5.52, allocations: 0 / 3.463 GB, free: 81.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/5.521, allocations: 414 kB / 3.463 GB, free: 80.76 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/5.521, allocations: 156.5 kB / 3.463 GB, free: 80.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/5.521, allocations: 0 / 3.463 GB, free: 80.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/5.522, allocations: 35.88 kB / 3.463 GB, free: 80.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/5.522, allocations: 19.97 kB / 3.463 GB, free: 80.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/5.522, allocations: 15.98 kB / 3.463 GB, free: 80.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002409/5.522, allocations: 282.9 kB / 3.464 GB, free: 80.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.522, allocations: 0 / 3.464 GB, free: 80.24 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000975/5.523, allocations: 275.5 kB / 3.464 GB, free: 79.97 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.001394/5.524, allocations: 1.076 MB / 3.465 GB, free: 78.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006207/5.525, allocations: 475.6 kB / 3.466 GB, free: 78.42 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/5.525, allocations: 0 / 3.466 GB, free: 78.42 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/5.525, allocations: 223.8 kB / 3.466 GB, free: 78.19 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/5.526, allocations: 248.3 kB / 3.466 GB, free: 77.95 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/5.528, allocations: 0.6276 MB / 3.467 GB, free: 77.29 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/5.528, allocations: 0.9167 MB / 3.467 GB, free: 76.34 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004181/5.528, allocations: 100.1 kB / 3.468 GB, free: 76.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/5.528, allocations: 31.44 kB / 3.468 GB, free: 76.21 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/5.528, allocations: 0 / 3.468 GB, free: 76.21 MB / 1.151 GB Notification: Performance of Templates: time 0.02081/5.549, allocations: 14.2 MB / 3.481 GB, free: 62.14 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