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.0009915/0.0009915, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001105/0.001105, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.966/0.966, allocations: 177.1 MB / 204.5 MB, free: 5.094 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.079/2.079, allocations: 429.5 MB / 0.6743 GB, free: 3.891 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.483e-06/1.483e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.575e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1353/0.1353, allocations: 145.6 MB / 1.022 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.1389, allocations: 3.42 MB / 1.025 GB, free: 500 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.1392, allocations: 31.75 kB / 1.025 GB, free: 468 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.1397, allocations: 190.6 kB / 1.025 GB, free: 276 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.1411, allocations: 0.944 MB / 1.026 GB, free: 15.32 MB / 0.9949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.1419, allocations: 0.6117 MB / 1.027 GB, free: 14.71 MB / 0.9949 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1432, allocations: 1.738 MB / 1.028 GB, free: 12.96 MB / 0.9949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.1437, allocations: 460.5 kB / 1.029 GB, free: 12.51 MB / 0.9949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.1449, allocations: 0.9492 MB / 1.03 GB, free: 11.57 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.1454, allocations: 0.5142 MB / 1.03 GB, free: 11.06 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.1454, allocations: 68 kB / 1.03 GB, free: 10.99 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.1459, allocations: 355.1 kB / 1.031 GB, free: 10.64 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.146, allocations: 299.2 kB / 1.031 GB, free: 10.35 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.1463, allocations: 291.4 kB / 1.031 GB, free: 10.07 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.147, allocations: 0.7866 MB / 1.032 GB, free: 9.277 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.147, allocations: 0 / 1.032 GB, free: 9.277 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.072e-06/0.147, allocations: 0 / 1.032 GB, free: 9.277 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.147, allocations: 7.938 kB / 1.032 GB, free: 9.27 MB / 0.9949 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.001057/0.1481, allocations: 1.037 MB / 1.033 GB, free: 8.191 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.1481, allocations: 8.031 kB / 1.033 GB, free: 8.184 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.1486, allocations: 232 kB / 1.033 GB, free: 7.957 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.1491, allocations: 476.8 kB / 1.034 GB, free: 7.465 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1492, allocations: 45.44 kB / 1.034 GB, free: 7.422 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.1492, allocations: 63.94 kB / 1.034 GB, free: 7.359 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.1498, allocations: 0.7623 MB / 1.035 GB, free: 6.488 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1498, allocations: 0 / 1.035 GB, free: 6.488 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.1498, allocations: 24 kB / 1.035 GB, free: 6.465 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.1498, allocations: 21.31 kB / 1.035 GB, free: 6.445 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1501, allocations: 186.2 kB / 1.035 GB, free: 6.262 MB / 0.9949 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.001602/0.1517, allocations: 1.545 MB / 1.036 GB, free: 4.668 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1518, allocations: 135.4 kB / 1.036 GB, free: 4.523 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1519, allocations: 47.66 kB / 1.036 GB, free: 4.473 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1519, allocations: 8 kB / 1.036 GB, free: 4.465 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1519, allocations: 45.33 kB / 1.036 GB, free: 4.41 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.1519, allocations: 0 / 1.036 GB, free: 4.41 MB / 0.9949 GB Notification: Performance of matching and sorting (n=20): time 0.0006082/0.1525, allocations: 306.2 kB / 1.037 GB, free: 4.098 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1526, allocations: 81.06 kB / 1.037 GB, free: 4 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1528, allocations: 438.4 kB / 1.037 GB, free: 3.551 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1528, allocations: 33.7 kB / 1.037 GB, free: 3.512 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.153, allocations: 402.4 kB / 1.038 GB, free: 3.113 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.153, allocations: 79.3 kB / 1.038 GB, free: 3.035 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.1531, allocations: 79.61 kB / 1.038 GB, free: 2.949 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1532, allocations: 0.5273 MB / 1.038 GB, free: 2.41 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.1533, allocations: 32.62 kB / 1.038 GB, free: 2.379 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1534, allocations: 175.4 kB / 1.039 GB, free: 2.156 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1536, allocations: 196.7 kB / 1.039 GB, free: 1.922 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1536, allocations: 7.875 kB / 1.039 GB, free: 1.914 MB / 0.9949 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003241/0.1539, allocations: 294.1 kB / 1.039 GB, free: 1.613 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1539, allocations: 8 kB / 1.039 GB, free: 1.605 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1539, allocations: 4 kB / 1.039 GB, free: 1.602 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.1541, allocations: 59.28 kB / 1.039 GB, free: 1.535 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1543, allocations: 67.91 kB / 1.039 GB, free: 1.469 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.1562, allocations: 3.602 MB / 1.043 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1564, allocations: 43.83 kB / 1.043 GB, free: 13.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1564, allocations: 8 kB / 1.043 GB, free: 13.59 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.0001092/0.1565, allocations: 176.5 kB / 1.043 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.1566, allocations: 47.7 kB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1566, allocations: 51.67 kB / 1.043 GB, free: 13.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1566, allocations: 4 kB / 1.043 GB, free: 13.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1566, allocations: 0 / 1.043 GB, free: 13.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000257/0.1569, allocations: 394.2 kB / 1.043 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1573, allocations: 0.5809 MB / 1.044 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1573, allocations: 192 / 1.044 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1574, allocations: 43.92 kB / 1.044 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-05/0.1575, allocations: 43.64 kB / 1.044 GB, free: 12.13 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1575, allocations: 11.98 kB / 1.044 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008462/0.1584, allocations: 1.871 MB / 1.046 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1584, allocations: 4 kB / 1.046 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1586, allocations: 340.7 kB / 1.046 GB, free: 9.766 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.1589, allocations: 75.59 kB / 1.046 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.1589, allocations: 11.94 kB / 1.046 GB, free: 9.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.1591, allocations: 25.52 kB / 1.046 GB, free: 9.656 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1591, allocations: 23.95 kB / 1.046 GB, free: 9.633 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1592, allocations: 12 kB / 1.046 GB, free: 9.621 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001365/0.1593, allocations: 267 kB / 1.047 GB, free: 9.363 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1593, allocations: 0 / 1.047 GB, free: 9.363 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003653/0.1597, allocations: 219.6 kB / 1.047 GB, free: 9.148 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.0001492/0.1598, allocations: 143.1 kB / 1.047 GB, free: 9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1602, allocations: 0.4911 MB / 1.047 GB, free: 8.469 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1602, allocations: 0 / 1.047 GB, free: 8.469 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1603, allocations: 249.4 kB / 1.048 GB, free: 8.203 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.161, allocations: 273.8 kB / 1.048 GB, free: 7.949 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.162, allocations: 0.8907 MB / 1.049 GB, free: 7.016 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.955e-05/0.1621, allocations: 161.2 kB / 1.049 GB, free: 6.836 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.1623, allocations: 68.16 kB / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.1627, allocations: 305.9 kB / 1.049 GB, free: 6.465 MB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.1627, allocations: 0 / 1.049 GB, free: 6.465 MB / 1.01 GB Notification: Performance of Templates: time 0.3704/0.533, allocations: 11.57 MB / 1.061 GB, free: 78.99 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.195353682618588]