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.00096/0.00096, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001211/0.001211, allocations: 173 kB / 23.02 MB, free: 1.547 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.8869/0.8869, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 1.959/1.959, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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 1.332e-06/1.332e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.66e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1328/0.1328, allocations: 148.4 MB / 1.023 GB, free: 1.418 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003756/0.1366, allocations: 3.447 MB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.1369, allocations: 27.75 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.1374, allocations: 194.6 kB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1387, allocations: 0.9284 MB / 1.028 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.1396, allocations: 0.6273 MB / 1.028 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1409, allocations: 1.726 MB / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004911/0.1414, allocations: 468.5 kB / 1.03 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1426, allocations: 0.9583 MB / 1.031 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005104/0.1431, allocations: 0.5142 MB / 1.032 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.1432, allocations: 64 kB / 1.032 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.1436, allocations: 351.1 kB / 1.032 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.1438, allocations: 295.2 kB / 1.032 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.144, allocations: 299.4 kB / 1.033 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007792/0.1448, allocations: 0.7944 MB / 1.033 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1448, allocations: 0 / 1.033 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1448, allocations: 0 / 1.033 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1448, allocations: 0 / 1.033 GB, free: 6.75 MB / 0.9948 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.001117/0.1459, allocations: 1.048 MB / 1.034 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1459, allocations: 8.031 kB / 1.034 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.1465, allocations: 228 kB / 1.035 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.147, allocations: 484.8 kB / 1.035 GB, free: 4.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.147, allocations: 45.44 kB / 1.035 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.1471, allocations: 59.98 kB / 1.035 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.1478, allocations: 0.8092 MB / 1.036 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1478, allocations: 0 / 1.036 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1478, allocations: 24 kB / 1.036 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.1479, allocations: 25.3 kB / 1.036 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.1482, allocations: 219.7 kB / 1.036 GB, free: 3.648 MB / 0.9948 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.001676/0.1499, allocations: 1.537 MB / 1.038 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1501, allocations: 155.3 kB / 1.038 GB, free: 1.895 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.1502, allocations: 59.67 kB / 1.038 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1502, allocations: 7.984 kB / 1.038 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1502, allocations: 41.39 kB / 1.038 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.203e-06/0.1502, allocations: 0 / 1.038 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0007098/0.1509, allocations: 330.9 kB / 1.038 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.151, allocations: 89.05 kB / 1.038 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1513, allocations: 438.6 kB / 1.039 GB, free: 0.8867 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1513, allocations: 33.7 kB / 1.039 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1515, allocations: 398.5 kB / 1.039 GB, free: 464 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1515, allocations: 71.33 kB / 1.039 GB, free: 392 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.1516, allocations: 79.64 kB / 1.039 GB, free: 304 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1517, allocations: 0.5157 MB / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.1518, allocations: 56.56 kB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1519, allocations: 187.4 kB / 1.04 GB, free: 15.48 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1521, allocations: 212.6 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1521, allocations: 4.031 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000389/0.1525, allocations: 317.8 kB / 1.041 GB, free: 14.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1526, allocations: 8 kB / 1.041 GB, free: 14.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1526, allocations: 0 / 1.041 GB, free: 14.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.1527, allocations: 71.61 kB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1529, allocations: 63.91 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.1547, allocations: 3.66 MB / 1.044 GB, free: 10.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1549, allocations: 39.73 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1549, allocations: 8 kB / 1.044 GB, free: 10.8 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.0001154/0.155, allocations: 184.5 kB / 1.045 GB, free: 10.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1551, allocations: 55.75 kB / 1.045 GB, free: 10.56 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.1551, allocations: 43.69 kB / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1551, allocations: 0 / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1551, allocations: 0 / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002948/0.1554, allocations: 416.2 kB / 1.045 GB, free: 10.04 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.1561, allocations: 0.675 MB / 1.046 GB, free: 9.309 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1561, allocations: 4 kB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1562, allocations: 47.97 kB / 1.046 GB, free: 9.258 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.633e-05/0.1563, allocations: 39.66 kB / 1.046 GB, free: 9.215 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1563, allocations: 11.94 kB / 1.046 GB, free: 9.203 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009253/0.1572, allocations: 1.913 MB / 1.048 GB, free: 7.172 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1573, allocations: 7.969 kB / 1.048 GB, free: 7.164 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1575, allocations: 362.5 kB / 1.048 GB, free: 6.777 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1576, allocations: 79.66 kB / 1.048 GB, free: 6.699 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1577, allocations: 0 / 1.048 GB, free: 6.699 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1578, allocations: 22.23 kB / 1.048 GB, free: 6.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.1579, allocations: 23.95 kB / 1.048 GB, free: 6.656 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.1579, allocations: 12 kB / 1.048 GB, free: 6.645 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001902/0.1581, allocations: 295 kB / 1.049 GB, free: 6.355 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1581, allocations: 4.031 kB / 1.049 GB, free: 6.352 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006529/0.1588, allocations: 219.6 kB / 1.049 GB, free: 6.137 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.0001845/0.159, allocations: 131.1 kB / 1.049 GB, free: 5.996 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.1594, allocations: 0.5072 MB / 1.049 GB, free: 5.449 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1594, allocations: 4 kB / 1.049 GB, free: 5.445 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1596, allocations: 253.4 kB / 1.05 GB, free: 5.176 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.1603, allocations: 277.5 kB / 1.05 GB, free: 4.914 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1614, allocations: 0.8931 MB / 1.051 GB, free: 3.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.1615, allocations: 153.2 kB / 1.051 GB, free: 3.809 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.1617, allocations: 76.14 kB / 1.051 GB, free: 3.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.1618, allocations: 36.5 kB / 1.051 GB, free: 3.695 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.1618, allocations: 0 / 1.051 GB, free: 3.695 MB / 1.01 GB Notification: Performance of Templates: time 0.3435/0.5053, allocations: 11.27 MB / 1.062 GB, free: 77.31 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: 5.829080331604928]