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.001287/0.001287, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009863/0.0009863, allocations: 169 kB / 23.27 MB, free: 1.219 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.9197/0.9197, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.246/2.246, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 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 1.533e-06/1.533e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.63e-05, allocations: 10.25 kB / 0.8897 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1298/0.1298, allocations: 145.6 MB / 1.032 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003704/0.1335, allocations: 3.428 MB / 1.035 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.1338, allocations: 31.75 kB / 1.035 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.1343, allocations: 182.7 kB / 1.035 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1355, allocations: 0.9401 MB / 1.036 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.1363, allocations: 0.6195 MB / 1.037 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1375, allocations: 1.728 MB / 1.039 GB, free: 0.6172 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.1379, allocations: 456.5 kB / 1.039 GB, free: 168 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.1392, allocations: 0.9511 MB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.1397, allocations: 0.5103 MB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.1397, allocations: 68 kB / 1.041 GB, free: 14.65 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.1401, allocations: 359.1 kB / 1.041 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1403, allocations: 295.2 kB / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1405, allocations: 295.4 kB / 1.042 GB, free: 13.72 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.1412, allocations: 0.7905 MB / 1.042 GB, free: 12.93 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1412, allocations: 0 / 1.042 GB, free: 12.93 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1412, allocations: 3.938 kB / 1.042 GB, free: 12.93 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1412, allocations: 0 / 1.042 GB, free: 12.93 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.0009348/0.1421, allocations: 1.033 MB / 1.043 GB, free: 11.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1421, allocations: 12.62 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.1426, allocations: 232 kB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.1431, allocations: 476.8 kB / 1.044 GB, free: 11.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1431, allocations: 45.38 kB / 1.044 GB, free: 11.08 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.1432, allocations: 63.97 kB / 1.044 GB, free: 11.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.1437, allocations: 0.7662 MB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1437, allocations: 3.938 kB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.1437, allocations: 24 kB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.1438, allocations: 25.3 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.144, allocations: 182.2 kB / 1.045 GB, free: 9.91 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.001524/0.1455, allocations: 1.529 MB / 1.047 GB, free: 8.332 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1457, allocations: 151.3 kB / 1.047 GB, free: 8.172 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1458, allocations: 47.66 kB / 1.047 GB, free: 8.121 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1458, allocations: 12 kB / 1.047 GB, free: 8.109 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1458, allocations: 41.39 kB / 1.047 GB, free: 8.059 MB / 1.01 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.1458, allocations: 0 / 1.047 GB, free: 8.059 MB / 1.01 GB Notification: Performance of matching and sorting (n=20): time 0.0006322/0.1464, allocations: 312.8 kB / 1.047 GB, free: 7.738 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1465, allocations: 85.11 kB / 1.047 GB, free: 7.637 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1467, allocations: 430.4 kB / 1.048 GB, free: 7.199 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1467, allocations: 29.7 kB / 1.048 GB, free: 7.164 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1469, allocations: 414.3 kB / 1.048 GB, free: 6.754 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.147, allocations: 71.42 kB / 1.048 GB, free: 6.684 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.1471, allocations: 75.61 kB / 1.048 GB, free: 6.602 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1472, allocations: 0.5273 MB / 1.049 GB, free: 6.062 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.1472, allocations: 32.62 kB / 1.049 GB, free: 6.031 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1474, allocations: 179.4 kB / 1.049 GB, free: 5.805 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1475, allocations: 200.6 kB / 1.049 GB, free: 5.566 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1475, allocations: 0 / 1.049 GB, free: 5.566 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003182/0.1478, allocations: 296.5 kB / 1.049 GB, free: 5.262 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1478, allocations: 8 kB / 1.049 GB, free: 5.254 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1478, allocations: 0 / 1.049 GB, free: 5.254 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.148, allocations: 63.33 kB / 1.049 GB, free: 5.184 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1481, allocations: 64.12 kB / 1.049 GB, free: 5.121 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.1498, allocations: 3.602 MB / 1.053 GB, free: 1.297 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.15, allocations: 35.73 kB / 1.053 GB, free: 1.262 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.15, allocations: 12 kB / 1.053 GB, free: 1.25 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.0002523/0.1502, allocations: 176.5 kB / 1.053 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.1503, allocations: 59.66 kB / 1.053 GB, free: 1.008 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.1503, allocations: 43.69 kB / 1.053 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1503, allocations: 0 / 1.053 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1503, allocations: 4.031 kB / 1.053 GB, free: 0.9492 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002481/0.1506, allocations: 392.3 kB / 1.054 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4892/0.6398, allocations: 0.578 MB / 1.054 GB, free: 69.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6398, allocations: 2.938 kB / 1.054 GB, free: 69.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.6399, allocations: 38.61 kB / 1.054 GB, free: 69.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.64, allocations: 41.33 kB / 1.054 GB, free: 69.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.6401, allocations: 5.25 kB / 1.054 GB, free: 69.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/0.6408, allocations: 1.873 MB / 1.056 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6408, allocations: 3.562 kB / 1.056 GB, free: 67.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.6412, allocations: 343.7 kB / 1.057 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.6413, allocations: 81.09 kB / 1.057 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.6413, allocations: 4.125 kB / 1.057 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.6415, allocations: 17.88 kB / 1.057 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.6416, allocations: 22.73 kB / 1.057 GB, free: 67.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.6416, allocations: 8.969 kB / 1.057 GB, free: 67.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001414/0.6417, allocations: 270.5 kB / 1.057 GB, free: 67.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6417, allocations: 0 / 1.057 GB, free: 67.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004927/0.6422, allocations: 216.1 kB / 1.057 GB, free: 67.18 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.0001901/0.6424, allocations: 143.6 kB / 1.057 GB, free: 67.09 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.6428, allocations: 0.4951 MB / 1.058 GB, free: 66.74 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6428, allocations: 2.812 kB / 1.058 GB, free: 66.74 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.6429, allocations: 252.8 kB / 1.058 GB, free: 66.56 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.6436, allocations: 272.4 kB / 1.058 GB, free: 66.56 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.6447, allocations: 0.8913 MB / 1.059 GB, free: 66.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.006e-05/0.6448, allocations: 157.9 kB / 1.059 GB, free: 66.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.645, allocations: 73.91 kB / 1.059 GB, free: 66.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.6454, allocations: 306.5 kB / 1.06 GB, free: 65.97 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.6454, allocations: 0 / 1.06 GB, free: 65.97 MB / 1.01 GB Notification: Performance of Templates: time 0.01219/0.6575, allocations: 11.44 MB / 1.071 GB, free: 65.25 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.296064313035458]