Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.058/2.058, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.978e-05, allocations: 2.812 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1729/0.1729, allocations: 167.5 MB / 1.042 GB, free: 14.6 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.1773, allocations: 4.385 MB / 1.046 GB, free: 10.2 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1776, allocations: 27.75 kB / 1.046 GB, free: 10.18 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.1784, allocations: 345.8 kB / 1.046 GB, free: 9.836 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.18, allocations: 1.313 MB / 1.048 GB, free: 8.516 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1812, allocations: 0.8256 MB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1825, allocations: 1.768 MB / 1.05 GB, free: 5.918 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.1829, allocations: 460.5 kB / 1.051 GB, free: 5.465 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009004/0.1838, allocations: 0.9972 MB / 1.052 GB, free: 4.465 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007018/0.1846, allocations: 0.528 MB / 1.052 GB, free: 3.945 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.1846, allocations: 68 kB / 1.052 GB, free: 3.879 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.1853, allocations: 0.6738 MB / 1.053 GB, free: 3.203 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1855, allocations: 307.1 kB / 1.053 GB, free: 2.902 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1857, allocations: 295.4 kB / 1.053 GB, free: 2.613 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.1867, allocations: 0.9502 MB / 1.054 GB, free: 1.66 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1867, allocations: 0 / 1.054 GB, free: 1.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1867, allocations: 0 / 1.054 GB, free: 1.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.1867, allocations: 0 / 1.054 GB, free: 1.66 MB / 1.01 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.001165/0.1878, allocations: 1.087 MB / 1.055 GB, free: 0.5352 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1879, allocations: 8.031 kB / 1.055 GB, free: 0.5273 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.1885, allocations: 243.1 kB / 1.056 GB, free: 296 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3956/0.5841, allocations: 491.6 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.5841, allocations: 41.22 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.5842, allocations: 60.03 kB / 1.056 GB, free: 223.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.5848, allocations: 0.8301 MB / 1.057 GB, free: 223.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5848, allocations: 0 / 1.057 GB, free: 223.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.5849, allocations: 28 kB / 1.057 GB, free: 223.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.5849, allocations: 22.89 kB / 1.057 GB, free: 223.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.5853, allocations: 223.4 kB / 1.057 GB, free: 223.1 MB / 1.01 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.001716/0.587, allocations: 1.54 MB / 1.059 GB, free: 222.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.5872, allocations: 157.4 kB / 1.059 GB, free: 222.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.5873, allocations: 63.92 kB / 1.059 GB, free: 222.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.5873, allocations: 8.656 kB / 1.059 GB, free: 222.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.5874, allocations: 39.92 kB / 1.059 GB, free: 222.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=20): time 2.023e-06/0.5874, allocations: 1.797 kB / 1.059 GB, free: 222.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=20): time 0.0007631/0.5881, allocations: 330.9 kB / 1.059 GB, free: 222 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.5882, allocations: 80.95 kB / 1.059 GB, free: 222 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.5884, allocations: 448.7 kB / 1.06 GB, free: 221.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.5884, allocations: 34.17 kB / 1.06 GB, free: 221.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.5886, allocations: 403.8 kB / 1.06 GB, free: 221.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.5886, allocations: 66.22 kB / 1.06 GB, free: 221.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.5887, allocations: 80.09 kB / 1.06 GB, free: 221.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.5887, allocations: 0.5215 MB / 1.061 GB, free: 220.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.5888, allocations: 50.06 kB / 1.061 GB, free: 220.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5889, allocations: 186.2 kB / 1.061 GB, free: 220.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.5891, allocations: 207.2 kB / 1.061 GB, free: 220.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5891, allocations: 0 / 1.061 GB, free: 220.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003704/0.5895, allocations: 319.9 kB / 1.062 GB, free: 220.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5895, allocations: 9.516 kB / 1.062 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5895, allocations: 3.688 kB / 1.062 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.5897, allocations: 65.67 kB / 1.062 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.5899, allocations: 66.17 kB / 1.062 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.5913, allocations: 3.65 MB / 1.065 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.5914, allocations: 44.39 kB / 1.065 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.5915, allocations: 11.47 kB / 1.065 GB, free: 216.6 MB / 1.01 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5916, allocations: 176.5 kB / 1.066 GB, free: 216.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.5916, allocations: 56.53 kB / 1.066 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.5917, allocations: 46.45 kB / 1.066 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5917, allocations: 2.906 kB / 1.066 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.5917, allocations: 0 / 1.066 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002545/0.5919, allocations: 412.7 kB / 1.066 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.5924, allocations: 0.6806 MB / 1.067 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5924, allocations: 1.062 kB / 1.067 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.5925, allocations: 38.3 kB / 1.067 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.484e-05/0.5926, allocations: 40.14 kB / 1.067 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5926, allocations: 6.781 kB / 1.067 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006616/0.5933, allocations: 1.919 MB / 1.069 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5933, allocations: 4.281 kB / 1.069 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.5935, allocations: 361.2 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.5936, allocations: 79.42 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.5937, allocations: 3.828 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.5938, allocations: 19.95 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.5939, allocations: 27.66 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.5939, allocations: 16.12 kB / 1.069 GB, free: 213.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002133/0.5941, allocations: 282.9 kB / 1.069 GB, free: 213.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5942, allocations: 3.406 kB / 1.069 GB, free: 213.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004914/0.5946, allocations: 217 kB / 1.07 GB, free: 213.2 MB / 1.01 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002065/0.5948, allocations: 154.2 kB / 1.07 GB, free: 213.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.5953, allocations: 0.5097 MB / 1.07 GB, free: 212.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5953, allocations: 0 / 1.07 GB, free: 212.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.5954, allocations: 267 kB / 1.071 GB, free: 212.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.5961, allocations: 275 kB / 1.071 GB, free: 212.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5972, allocations: 0.8844 MB / 1.072 GB, free: 211.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.5972, allocations: 158.1 kB / 1.072 GB, free: 211.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.5975, allocations: 84.91 kB / 1.072 GB, free: 211.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.5975, allocations: 38.97 kB / 1.072 GB, free: 211.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/0.5975, allocations: 0 / 1.072 GB, free: 211.8 MB / 1.01 GB Notification: Performance of Templates: time 0.01144/0.609, allocations: 10.76 MB / 1.082 GB, free: 210.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.061862559057772]