Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0007272/0.0007272, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009317/0.001659, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006804/0.0006804, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009052/0.001586, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1141/1.116, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.408/2.408, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2375/2.645, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.651e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1392/0.1392, allocations: 150.6 MB / 0.9654 GB, free: 11.68 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.1436, allocations: 3.911 MB / 0.9692 GB, free: 7.758 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.144, allocations: 55.5 kB / 0.9693 GB, free: 7.703 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.1446, allocations: 289.9 kB / 0.9696 GB, free: 7.418 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.1458, allocations: 1.049 MB / 0.9706 GB, free: 6.363 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.147, allocations: 0.9611 MB / 0.9715 GB, free: 5.402 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1489, allocations: 2.508 MB / 0.974 GB, free: 2.887 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.1499, allocations: 0.7898 MB / 0.9748 GB, free: 2.086 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.1514, allocations: 1.478 MB / 0.9762 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006538/0.152, allocations: 0.7205 MB / 0.9769 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.1521, allocations: 100 kB / 0.977 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.1529, allocations: 0.647 MB / 0.9776 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.1532, allocations: 470.9 kB / 0.9781 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.1535, allocations: 375.3 kB / 0.9784 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.1547, allocations: 1.211 MB / 0.9796 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.1547, allocations: 3.938 kB / 0.9796 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1547, allocations: 0 / 0.9796 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.1547, allocations: 0 / 0.9796 GB, free: 13.12 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001533/0.1563, allocations: 1.577 MB / 0.9812 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1563, allocations: 8.625 kB / 0.9812 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.1573, allocations: 457.1 kB / 0.9816 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/0.1581, allocations: 0.6245 MB / 0.9822 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.1581, allocations: 70.12 kB / 0.9823 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.1582, allocations: 91.94 kB / 0.9824 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.1591, allocations: 1.085 MB / 0.9834 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.1591, allocations: 11.98 kB / 0.9834 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.1592, allocations: 32 kB / 0.9835 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.1592, allocations: 41.98 kB / 0.9835 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.1596, allocations: 288.5 kB / 0.9838 GB, free: 8.633 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.002682/0.1623, allocations: 2.56 MB / 0.9863 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1625, allocations: 217.8 kB / 0.9865 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.1626, allocations: 76.53 kB / 0.9866 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.1627, allocations: 23.98 kB / 0.9866 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1627, allocations: 42.56 kB / 0.9866 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/0.1627, allocations: 0 / 0.9866 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38): time 0.001138/0.1639, allocations: 0.6213 MB / 0.9872 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1639, allocations: 67.08 kB / 0.9873 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.1643, allocations: 0.5778 MB / 0.9879 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1644, allocations: 33.7 kB / 0.9879 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1646, allocations: 448.7 kB / 0.9883 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.1646, allocations: 146.8 kB / 0.9885 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1648, allocations: 118.2 kB / 0.9886 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1649, allocations: 386.6 kB / 0.9889 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.165, allocations: 60.11 kB / 0.989 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1652, allocations: 283.3 kB / 0.9893 GB, free: 2.738 MB / 0.9636 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.000513/0.1657, allocations: 480.8 kB / 0.9897 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1657, allocations: 4 kB / 0.9897 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004066/0.1661, allocations: 346.5 kB / 0.9901 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1661, allocations: 10.03 kB / 0.9901 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1662, allocations: 7.938 kB / 0.9901 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1662, allocations: 8 kB / 0.9901 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.1665, allocations: 160.4 kB / 0.9902 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1665, allocations: 15.92 kB / 0.9903 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.1668, allocations: 39.98 kB / 0.9903 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.1669, allocations: 20 kB / 0.9903 GB, free: 1.582 MB / 0.9636 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001632/0.167, allocations: 152.5 kB / 0.9905 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.1671, allocations: 63.91 kB / 0.9905 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.1672, allocations: 86.81 kB / 0.9906 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1672, allocations: 7.938 kB / 0.9906 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1672, allocations: 4 kB / 0.9906 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002859/0.1675, allocations: 459.8 kB / 0.9911 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1685, allocations: 0.9532 MB / 0.992 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1685, allocations: 4 kB / 0.992 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1688, allocations: 110.7 kB / 0.9921 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.1689, allocations: 99.48 kB / 0.9922 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1689, allocations: 4 kB / 0.9922 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.169, allocations: 20.45 kB / 0.9922 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.169, allocations: 11.94 kB / 0.9922 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.169, allocations: 8 kB / 0.9922 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1694, allocations: 0.5313 MB / 0.9928 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.1698, allocations: 12 kB / 0.9928 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.17, allocations: 27.92 kB / 0.9928 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.17, allocations: 39.83 kB / 0.9928 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.1701, allocations: 23.98 kB / 0.9928 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001991/0.1703, allocations: 268.5 kB / 0.9931 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1703, allocations: 0 / 0.9931 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004537/0.1707, allocations: 259.9 kB / 0.9934 GB, free: 14.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0002321/0.171, allocations: 140.1 kB / 0.9935 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1712, allocations: 249.8 kB / 0.9937 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/0.1713, allocations: 12.5 kB / 0.9937 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.1714, allocations: 106.1 kB / 0.9938 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1724, allocations: 0.5249 MB / 0.9944 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.1775, allocations: 1.596 MB / 0.9959 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.1776, allocations: 246.8 kB / 0.9961 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.178, allocations: 130.4 kB / 0.9963 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006002/0.1786, allocations: 365 kB / 0.9966 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of SimCode: time 8.42e-07/0.1786, allocations: 4 kB / 0.9966 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of Templates: time 0.02339/0.2019, allocations: 17.77 MB / 1.014 GB, free: 9.391 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.ref.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.747874544933438]