Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001444/0.001444, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001796/0.001796, allocations: 166 kB / 24.87 MB, free: 9.258 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.9605/0.9605, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.534e-05, allocations: 10.25 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.137/0.137, allocations: 148.2 MB / 0.9575 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006037/0.1431, allocations: 3.822 MB / 0.9613 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.144, allocations: 55.5 kB / 0.9613 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.1446, allocations: 281.9 kB / 0.9616 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.1465, allocations: 1.072 MB / 0.9626 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1482, allocations: 0.9995 MB / 0.9636 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.1506, allocations: 2.579 MB / 0.9661 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009225/0.1515, allocations: 0.7825 MB / 0.9669 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.1536, allocations: 1.418 MB / 0.9683 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008277/0.1544, allocations: 0.7907 MB / 0.969 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.1546, allocations: 104 kB / 0.9691 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009291/0.1555, allocations: 0.6548 MB / 0.9698 GB, free: 196 kB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.1559, allocations: 0.5376 MB / 0.9703 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.1563, allocations: 463 kB / 0.9708 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.1578, allocations: 1.402 MB / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1578, allocations: 0 / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1578, allocations: 0 / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.1578, allocations: 0 / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001586/0.1594, allocations: 1.53 MB / 0.9736 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1594, allocations: 12.03 kB / 0.9736 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.1609, allocations: 0.4915 MB / 0.9741 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.1617, allocations: 0.7345 MB / 0.9748 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.1617, allocations: 74.11 kB / 0.9749 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.1618, allocations: 91.94 kB / 0.975 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1629, allocations: 1.078 MB / 0.976 GB, free: 9.594 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1629, allocations: 0 / 0.976 GB, free: 9.594 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.163, allocations: 40 kB / 0.9761 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.163, allocations: 37.92 kB / 0.9761 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.1635, allocations: 317.6 kB / 0.9764 GB, free: 9.207 MB / 0.9323 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.003426/0.1669, allocations: 2.94 MB / 0.9793 GB, free: 6.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.1673, allocations: 288.8 kB / 0.9796 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1675, allocations: 119.4 kB / 0.9797 GB, free: 5.766 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.293e-05/0.1676, allocations: 31.92 kB / 0.9797 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1676, allocations: 46.11 kB / 0.9797 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.1676, allocations: 0 / 0.9797 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.001412/0.169, allocations: 0.8212 MB / 0.9806 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1691, allocations: 55.41 kB / 0.9806 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.1695, allocations: 0.6279 MB / 0.9812 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1695, allocations: 37.7 kB / 0.9813 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.1698, allocations: 0.561 MB / 0.9818 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.17, allocations: 178.5 kB / 0.982 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1702, allocations: 127.8 kB / 0.9821 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1703, allocations: 0.5663 MB / 0.9826 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1705, allocations: 81.23 kB / 0.9827 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.1707, allocations: 317 kB / 0.983 GB, free: 2.137 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.1713, allocations: 0.5398 MB / 0.9836 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1713, allocations: 4 kB / 0.9836 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005311/0.1719, allocations: 449 kB / 0.984 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1719, allocations: 4 kB / 0.984 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1719, allocations: 4 kB / 0.984 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1719, allocations: 11.94 kB / 0.984 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.1723, allocations: 160 kB / 0.9842 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1723, allocations: 8 kB / 0.9842 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.1727, allocations: 39.97 kB / 0.9842 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1727, allocations: 23.98 kB / 0.9842 GB, free: 0.8359 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.1729, allocations: 192.4 kB / 0.9844 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.173, allocations: 95.53 kB / 0.9845 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.1731, allocations: 87.12 kB / 0.9846 GB, free: 460 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1731, allocations: 7.938 kB / 0.9846 GB, free: 452 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1731, allocations: 0 / 0.9846 GB, free: 452 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003981/0.1735, allocations: 0.5387 MB / 0.9851 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1751, allocations: 1.209 MB / 0.9863 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1751, allocations: 8.031 kB / 0.9863 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1754, allocations: 127.8 kB / 0.9864 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1754, allocations: 8 kB / 0.9864 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1755, allocations: 15.98 kB / 0.9864 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1755, allocations: 11.94 kB / 0.9865 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1755, allocations: 4 kB / 0.9865 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.1761, allocations: 0.6709 MB / 0.9871 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.1763, allocations: 147.4 kB / 0.9873 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.1764, allocations: 11.98 kB / 0.9873 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.1768, allocations: 48.56 kB / 0.9873 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.1768, allocations: 51.83 kB / 0.9874 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1769, allocations: 23.98 kB / 0.9874 GB, free: 13.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002305/0.1771, allocations: 390.8 kB / 0.9878 GB, free: 12.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1771, allocations: 0 / 0.9878 GB, free: 12.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005402/0.1776, allocations: 263.9 kB / 0.988 GB, free: 12.69 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002513/0.1779, allocations: 171 kB / 0.9882 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.1783, allocations: 304.1 kB / 0.9885 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1783, allocations: 0 / 0.9885 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1786, allocations: 139.4 kB / 0.9886 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.1798, allocations: 480.3 kB / 0.9891 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.1822, allocations: 1.793 MB / 0.9908 GB, free: 9.723 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.1824, allocations: 243 kB / 0.991 GB, free: 9.465 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004433/0.1828, allocations: 150.4 kB / 0.9912 GB, free: 9.312 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.1836, allocations: 453.8 kB / 0.9916 GB, free: 8.867 MB / 0.948 GB Notification: Performance of SimCode: time 3.497e-06/0.1836, allocations: 0 / 0.9916 GB, free: 8.867 MB / 0.948 GB Notification: Performance of Templates: time 0.0227/0.2063, allocations: 19.91 MB / 1.011 GB, free: 5.48 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.851992652285844]