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.0009027/0.0009027, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001106/0.001106, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.001/1.001, allocations: 177.2 MB / 203.8 MB, free: 5.441 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.4/2.4, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.563e-06/1.563e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.65e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1346/0.1347, allocations: 147.8 MB / 0.9829 GB, free: 9.812 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004453/0.1391, allocations: 3.498 MB / 0.9863 GB, free: 6.309 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.1395, allocations: 31.75 kB / 0.9864 GB, free: 6.277 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.14, allocations: 182.7 kB / 0.9865 GB, free: 6.098 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.1415, allocations: 0.9401 MB / 0.9874 GB, free: 5.152 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1425, allocations: 0.6078 MB / 0.988 GB, free: 4.543 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.144, allocations: 1.73 MB / 0.9897 GB, free: 2.809 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.1448, allocations: 485.2 kB / 0.9902 GB, free: 2.332 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.1463, allocations: 0.931 MB / 0.9911 GB, free: 1.418 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005926/0.1469, allocations: 498.6 kB / 0.9916 GB, free: 0.9297 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-05/0.1469, allocations: 64 kB / 0.9916 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.1475, allocations: 363 kB / 0.992 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1477, allocations: 295.2 kB / 0.9923 GB, free: 228 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.148, allocations: 295.5 kB / 0.9925 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009153/0.1489, allocations: 0.7904 MB / 0.9933 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1489, allocations: 0 / 0.9933 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1489, allocations: 4 kB / 0.9933 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1489, allocations: 4 kB / 0.9933 GB, free: 15.13 MB / 0.9636 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.001025/0.1499, allocations: 0.8962 MB / 0.9942 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1499, allocations: 12.62 kB / 0.9942 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005969/0.1505, allocations: 216.4 kB / 0.9944 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.151, allocations: 410.2 kB / 0.9948 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.151, allocations: 49.38 kB / 0.9949 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.1511, allocations: 56 kB / 0.9949 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.1516, allocations: 0.7762 MB / 0.9957 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1517, allocations: 4 kB / 0.9957 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.1517, allocations: 24 kB / 0.9957 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.1517, allocations: 25.3 kB / 0.9957 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.152, allocations: 179.9 kB / 0.9959 GB, free: 12.34 MB / 0.9636 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.001519/0.1535, allocations: 1.228 MB / 0.9971 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1537, allocations: 180 kB / 0.9973 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1537, allocations: 44.22 kB / 0.9973 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1538, allocations: 4 kB / 0.9973 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1538, allocations: 38.56 kB / 0.9973 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.1538, allocations: 0 / 0.9973 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0005878/0.1544, allocations: 274.7 kB / 0.9976 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1544, allocations: 81.11 kB / 0.9977 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1546, allocations: 371.1 kB / 0.998 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1547, allocations: 33.7 kB / 0.9981 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1548, allocations: 308.7 kB / 0.9984 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.1549, allocations: 71.41 kB / 0.9984 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.155, allocations: 69.91 kB / 0.9985 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.1551, allocations: 354.7 kB / 0.9988 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.1552, allocations: 35.47 kB / 0.9989 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1553, allocations: 140.3 kB / 0.999 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1554, allocations: 178 kB / 0.9992 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1554, allocations: 7.875 kB / 0.9992 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003304/0.1557, allocations: 239.5 kB / 0.9994 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1558, allocations: 8 kB / 0.9994 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1558, allocations: 0 / 0.9994 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.1559, allocations: 66.45 kB / 0.9995 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1561, allocations: 83.89 kB / 0.9996 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.1576, allocations: 2.515 MB / 1.002 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1578, allocations: 35.92 kB / 1.002 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1578, allocations: 16 kB / 1.002 GB, free: 5.598 MB / 0.9636 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.0001157/0.1579, allocations: 140.5 kB / 1.002 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.158, allocations: 39.94 kB / 1.002 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.158, allocations: 47.67 kB / 1.002 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.158, allocations: 4 kB / 1.002 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.158, allocations: 0 / 1.002 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002351/0.1583, allocations: 372.5 kB / 1.003 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1587, allocations: 0.4899 MB / 1.003 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1587, allocations: 4 kB / 1.003 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1588, allocations: 54.8 kB / 1.003 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.1589, allocations: 47.62 kB / 1.003 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1589, allocations: 4 kB / 1.003 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009492/0.1599, allocations: 1.328 MB / 1.005 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1599, allocations: 0 / 1.005 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1601, allocations: 298.3 kB / 1.005 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.1602, allocations: 67.62 kB / 1.005 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1602, allocations: 0 / 1.005 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1604, allocations: 19.92 kB / 1.005 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.1604, allocations: 19.97 kB / 1.005 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1604, allocations: 11.98 kB / 1.005 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001109/0.1606, allocations: 160.7 kB / 1.005 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1606, allocations: 0 / 1.005 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004122/0.161, allocations: 215.6 kB / 1.005 GB, free: 2.055 MB / 0.9636 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.0001731/0.1611, allocations: 112.3 kB / 1.005 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1615, allocations: 382.7 kB / 1.006 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.1615, allocations: 8 kB / 1.006 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1616, allocations: 196.8 kB / 1.006 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.1623, allocations: 287.6 kB / 1.006 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1634, allocations: 0.8998 MB / 1.007 GB, free: 104 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.1635, allocations: 145.2 kB / 1.007 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.1636, allocations: 72.14 kB / 1.007 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.1641, allocations: 259 kB / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of SimCode: time 9.52e-07/0.1641, allocations: 0 / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of Templates: time 0.01357/0.1776, allocations: 11.35 MB / 1.019 GB, free: 4.523 MB / 0.9792 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.654541805852205]