Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.0009734/0.0009734, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009887/0.0009887, allocations: 177 kB / 23.36 MB, free: 1.133 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.9992/0.9992, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.419/2.419, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.108e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1383/0.1383, allocations: 150.3 MB / 0.9855 GB, free: 7.219 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005927/0.1443, allocations: 3.907 MB / 0.9893 GB, free: 3.301 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.1449, allocations: 55.56 kB / 0.9893 GB, free: 3.246 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.1455, allocations: 285.8 kB / 0.9896 GB, free: 2.965 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1473, allocations: 1.173 MB / 0.9907 GB, free: 1.785 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1486, allocations: 0.8925 MB / 0.9916 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.151, allocations: 2.97 MB / 0.9945 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1521, allocations: 0.8978 MB / 0.9954 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.1542, allocations: 1.545 MB / 0.9969 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1552, allocations: 0.8686 MB / 0.9978 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.1554, allocations: 124 kB / 0.9979 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006954/0.1561, allocations: 423.1 kB / 0.9983 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.1565, allocations: 0.6195 MB / 0.9989 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.1569, allocations: 0.5184 MB / 0.9994 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1581, allocations: 1.347 MB / 1.001 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1581, allocations: 0 / 1.001 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1581, allocations: 0 / 1.001 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.1581, allocations: 0 / 1.001 GB, free: 7.594 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001347/0.1594, allocations: 1.421 MB / 1.002 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1595, allocations: 8.625 kB / 1.002 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.1606, allocations: 415.9 kB / 1.002 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.1614, allocations: 0.6837 MB / 1.003 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.1614, allocations: 78.12 kB / 1.003 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.1615, allocations: 104 kB / 1.003 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1627, allocations: 1.062 MB / 1.004 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.1628, allocations: 3.938 kB / 1.004 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.1628, allocations: 40 kB / 1.004 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.1629, allocations: 45.92 kB / 1.004 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.1633, allocations: 277.8 kB / 1.005 GB, free: 3.301 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.003044/0.1664, allocations: 2.051 MB / 1.007 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1667, allocations: 342.8 kB / 1.007 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1669, allocations: 118.2 kB / 1.007 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-05/0.167, allocations: 32.48 kB / 1.007 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.167, allocations: 43.06 kB / 1.007 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.167, allocations: 0 / 1.007 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=55): time 0.001566/0.1686, allocations: 0.8598 MB / 1.008 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.1686, allocations: 59.84 kB / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.169, allocations: 0.5623 MB / 1.009 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.169, allocations: 37.7 kB / 1.009 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1692, allocations: 469.7 kB / 1.009 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1693, allocations: 202.3 kB / 1.009 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.1695, allocations: 126.6 kB / 1.009 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1696, allocations: 386.6 kB / 1.01 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1697, allocations: 72.8 kB / 1.01 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1699, allocations: 264.5 kB / 1.01 GB, free: 13.49 MB / 0.9792 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.0005806/0.1705, allocations: 0.5326 MB / 1.011 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1705, allocations: 4 kB / 1.011 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004624/0.1709, allocations: 405.1 kB / 1.011 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1709, allocations: 4 kB / 1.011 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1709, allocations: 7.938 kB / 1.011 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.875e-05/0.171, allocations: 56.2 kB / 1.011 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.1715, allocations: 179 kB / 1.011 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.1732, allocations: 3.604 MB / 1.015 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.1736, allocations: 28 kB / 1.015 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.1736, allocations: 23.97 kB / 1.015 GB, free: 8.285 MB / 0.9792 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.1738, allocations: 152.5 kB / 1.015 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/0.1739, allocations: 76.02 kB / 1.015 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.174, allocations: 95.64 kB / 1.015 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.174, allocations: 4 kB / 1.015 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.174, allocations: 3.938 kB / 1.015 GB, free: 7.949 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003017/0.1743, allocations: 386.1 kB / 1.016 GB, free: 7.516 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.1755, allocations: 1.051 MB / 1.017 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1755, allocations: 4 kB / 1.017 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.176, allocations: 162.6 kB / 1.017 GB, free: 6.219 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.368e-05/0.176, allocations: 28.06 kB / 1.017 GB, free: 6.188 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.1761, allocations: 19.98 kB / 1.017 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.1767, allocations: 1.226 MB / 1.018 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1767, allocations: 8.078 kB / 1.018 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.1774, allocations: 0.6078 MB / 1.019 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.1777, allocations: 123.5 kB / 1.019 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/0.1778, allocations: 19.92 kB / 1.019 GB, free: 4.016 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.1782, allocations: 35.92 kB / 1.019 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.1783, allocations: 43.86 kB / 1.019 GB, free: 3.938 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.1783, allocations: 23.98 kB / 1.019 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002799/0.1786, allocations: 268.5 kB / 1.019 GB, free: 3.652 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1786, allocations: 0 / 1.019 GB, free: 3.652 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007688/0.1794, allocations: 303.9 kB / 1.019 GB, free: 3.355 MB / 0.9792 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002563/0.1796, allocations: 136.2 kB / 1.02 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006817/0.1803, allocations: 0.6232 MB / 1.02 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/0.1803, allocations: 16.06 kB / 1.02 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1806, allocations: 255.9 kB / 1.02 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.1824, allocations: 0.5465 MB / 1.021 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.1849, allocations: 1.77 MB / 1.023 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1851, allocations: 268.5 kB / 1.023 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004752/0.1856, allocations: 147 kB / 1.023 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009798/0.1866, allocations: 409 kB / 1.023 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of SimCode: time 9.12e-07/0.1866, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of Templates: time 0.03051/0.2171, allocations: 21.21 MB / 1.044 GB, free: 10.36 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.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.495921454858035]