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.001071/0.001071, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009005/0.0009005, allocations: 177 kB / 23.36 MB, free: 1.129 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.884/0.884, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.287/2.287, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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 9.72e-07/9.72e-07, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.237e-05, allocations: 8.844 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1307/0.1307, allocations: 147.7 MB / 0.9828 GB, free: 9.941 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.1351, allocations: 3.491 MB / 0.9862 GB, free: 6.441 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.1354, allocations: 27.75 kB / 0.9862 GB, free: 6.414 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.1358, allocations: 186.6 kB / 0.9864 GB, free: 6.23 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.1371, allocations: 0.9402 MB / 0.9873 GB, free: 5.285 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.1379, allocations: 0.6273 MB / 0.988 GB, free: 4.656 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.1391, allocations: 1.712 MB / 0.9896 GB, free: 2.941 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004333/0.1395, allocations: 475 kB / 0.9901 GB, free: 2.469 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.1408, allocations: 0.9426 MB / 0.991 GB, free: 1.543 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005062/0.1413, allocations: 0.4986 MB / 0.9915 GB, free: 1.043 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/0.1413, allocations: 64 kB / 0.9915 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.1417, allocations: 343.1 kB / 0.9919 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1419, allocations: 299.2 kB / 0.9922 GB, free: 360 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1422, allocations: 291.4 kB / 0.9924 GB, free: 68 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1432, allocations: 0.7983 MB / 0.9932 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1432, allocations: 0 / 0.9932 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1432, allocations: 0 / 0.9932 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1432, allocations: 0 / 0.9932 GB, free: 15.27 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.001085/0.1443, allocations: 0.904 MB / 0.9941 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1443, allocations: 8.625 kB / 0.9941 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.1448, allocations: 216.4 kB / 0.9943 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.1452, allocations: 406.3 kB / 0.9947 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1453, allocations: 45.44 kB / 0.9947 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.1453, allocations: 56 kB / 0.9948 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.1459, allocations: 0.7762 MB / 0.9956 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1459, allocations: 0 / 0.9956 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.1459, allocations: 24 kB / 0.9956 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.1459, allocations: 25.3 kB / 0.9956 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.1461, allocations: 187.9 kB / 0.9958 GB, free: 12.48 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.001351/0.1475, allocations: 1.236 MB / 0.997 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1477, allocations: 177.4 kB / 0.9972 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.1477, allocations: 48.53 kB / 0.9972 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1477, allocations: 4 kB / 0.9972 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1478, allocations: 38.56 kB / 0.9972 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.1478, allocations: 0 / 0.9972 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0005554/0.1483, allocations: 271.4 kB / 0.9975 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1484, allocations: 81.11 kB / 0.9976 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1486, allocations: 367.2 kB / 0.9979 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1486, allocations: 29.7 kB / 0.998 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1487, allocations: 312.6 kB / 0.9983 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.1487, allocations: 75.41 kB / 0.9983 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.1488, allocations: 73.91 kB / 0.9984 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.1489, allocations: 350.7 kB / 0.9987 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.1489, allocations: 35.47 kB / 0.9988 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.149, allocations: 136.4 kB / 0.9989 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1492, allocations: 186 kB / 0.9991 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1492, allocations: 3.938 kB / 0.9991 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002723/0.1495, allocations: 235.7 kB / 0.9993 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1495, allocations: 4 kB / 0.9993 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1495, allocations: 4 kB / 0.9993 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.1496, allocations: 66.17 kB / 0.9994 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1498, allocations: 67.91 kB / 0.9994 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.1511, allocations: 2.522 MB / 1.002 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.1513, allocations: 43.73 kB / 1.002 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1513, allocations: 4 kB / 1.002 GB, free: 5.75 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.0001074/0.1514, allocations: 144.5 kB / 1.002 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.1515, allocations: 31.97 kB / 1.002 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.1515, allocations: 51.61 kB / 1.002 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1515, allocations: 0 / 1.002 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1515, allocations: 3.938 kB / 1.002 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002346/0.1518, allocations: 378.3 kB / 1.003 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1522, allocations: 495.6 kB / 1.003 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1522, allocations: 0 / 1.003 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.1523, allocations: 43.91 kB / 1.003 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.443e-05/0.1524, allocations: 50.53 kB / 1.003 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1524, allocations: 8 kB / 1.003 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/0.1531, allocations: 1.324 MB / 1.004 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1531, allocations: 3.938 kB / 1.004 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1533, allocations: 304.2 kB / 1.005 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.1534, allocations: 63.66 kB / 1.005 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1534, allocations: 8 kB / 1.005 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1536, allocations: 17.86 kB / 1.005 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1536, allocations: 23.91 kB / 1.005 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1536, allocations: 7.984 kB / 1.005 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001008/0.1537, allocations: 152.7 kB / 1.005 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-08/0.1537, allocations: 0 / 1.005 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003321/0.1541, allocations: 219.6 kB / 1.005 GB, free: 2.211 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.0001528/0.1542, allocations: 108.4 kB / 1.005 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.1545, allocations: 382.7 kB / 1.006 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.1545, allocations: 8 kB / 1.006 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1547, allocations: 191.9 kB / 1.006 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.1553, allocations: 290 kB / 1.006 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1565, allocations: 0.9048 MB / 1.007 GB, free: 260 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.387e-05/0.1566, allocations: 149.2 kB / 1.007 GB, free: 92 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.1567, allocations: 68.16 kB / 1.007 GB, free: 20 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.1571, allocations: 243 kB / 1.007 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of SimCode: time 1.172e-06/0.1571, allocations: 0 / 1.007 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of Templates: time 0.01242/0.1696, allocations: 11.36 MB / 1.019 GB, free: 4.691 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 -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.370020700618625]