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.0008919/0.0008919, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002103, allocations: 440 kB / 10.41 MB, free: 284 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.0007392/0.0007392, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009844/0.001724, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9587/0.9587, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09491/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.357/2.357, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2438/2.601, allocations: 146 MB / 0.8176 GB, free: 3.828 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.482e-06/1.482e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.438e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1385/0.1385, allocations: 150.7 MB / 0.9661 GB, free: 11.25 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004407/0.1429, allocations: 3.901 MB / 0.9699 GB, free: 7.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.1433, allocations: 59.5 kB / 0.9699 GB, free: 7.281 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1438, allocations: 289.9 kB / 0.9702 GB, free: 6.996 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.1451, allocations: 1.053 MB / 0.9712 GB, free: 5.938 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1465, allocations: 0.9629 MB / 0.9722 GB, free: 4.977 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.1482, allocations: 2.504 MB / 0.9746 GB, free: 2.469 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.1491, allocations: 0.7811 MB / 0.9754 GB, free: 1.672 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.1505, allocations: 1.447 MB / 0.9768 GB, free: 272 kB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/0.1512, allocations: 0.7205 MB / 0.9775 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1513, allocations: 104 kB / 0.9776 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.1521, allocations: 0.6431 MB / 0.9782 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.1524, allocations: 470.9 kB / 0.9787 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005508/0.1529, allocations: 375.3 kB / 0.979 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.154, allocations: 1.207 MB / 0.9802 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.154, allocations: 0 / 0.9802 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.903e-06/0.154, allocations: 7.938 kB / 0.9802 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.154, allocations: 3.984 kB / 0.9802 GB, free: 12.75 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.001325/0.1553, allocations: 1.57 MB / 0.9818 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1553, allocations: 16.02 kB / 0.9818 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.1563, allocations: 457.1 kB / 0.9822 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.157, allocations: 0.6244 MB / 0.9828 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.157, allocations: 70.11 kB / 0.9829 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/0.1571, allocations: 88 kB / 0.983 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.1579, allocations: 1.089 MB / 0.984 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1579, allocations: 4 kB / 0.984 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.158, allocations: 36 kB / 0.9841 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.158, allocations: 37.98 kB / 0.9841 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.1583, allocations: 292.5 kB / 0.9844 GB, free: 8.258 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.00226/0.1606, allocations: 2.553 MB / 0.9869 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1608, allocations: 213.3 kB / 0.9871 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.1609, allocations: 75.66 kB / 0.9872 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.442e-05/0.161, allocations: 27.98 kB / 0.9872 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.161, allocations: 46.55 kB / 0.9872 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.343e-06/0.161, allocations: 0 / 0.9872 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38): time 0.00104/0.162, allocations: 0.6425 MB / 0.9879 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1621, allocations: 67.09 kB / 0.9879 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.1624, allocations: 0.5739 MB / 0.9885 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1625, allocations: 33.7 kB / 0.9885 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1626, allocations: 452.7 kB / 0.9889 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.1628, allocations: 138.8 kB / 0.9891 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.1629, allocations: 126.2 kB / 0.9892 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.163, allocations: 382.6 kB / 0.9896 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.1631, allocations: 60.11 kB / 0.9896 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.1633, allocations: 283.3 kB / 0.9899 GB, free: 2.344 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.0004713/0.1638, allocations: 0.4978 MB / 0.9904 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1638, allocations: 0 / 0.9904 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003648/0.1641, allocations: 354.6 kB / 0.9907 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1642, allocations: 10.34 kB / 0.9907 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1642, allocations: 7.938 kB / 0.9907 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1642, allocations: 8 kB / 0.9907 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.1646, allocations: 160.2 kB / 0.9909 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1646, allocations: 12 kB / 0.9909 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.1649, allocations: 39.97 kB / 0.9909 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.165, allocations: 24 kB / 0.991 GB, free: 1.156 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.0001419/0.1651, allocations: 156.4 kB / 0.9911 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1652, allocations: 63.94 kB / 0.9912 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.1653, allocations: 86.78 kB / 0.9913 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1653, allocations: 4 kB / 0.9913 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1653, allocations: 8 kB / 0.9913 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002235/0.1655, allocations: 464.2 kB / 0.9917 GB, free: 296 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.1666, allocations: 0.9392 MB / 0.9926 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1666, allocations: 4 kB / 0.9926 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1669, allocations: 114.7 kB / 0.9927 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.167, allocations: 99.48 kB / 0.9928 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.167, allocations: 4 kB / 0.9928 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1671, allocations: 16 kB / 0.9928 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1671, allocations: 7.938 kB / 0.9929 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1671, allocations: 12.23 kB / 0.9929 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1674, allocations: 0.5274 MB / 0.9934 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.1675, allocations: 19.94 kB / 0.9934 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.1677, allocations: 22.42 kB / 0.9934 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1678, allocations: 39.83 kB / 0.9935 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.1678, allocations: 19.98 kB / 0.9935 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001874/0.168, allocations: 272.5 kB / 0.9937 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.168, allocations: 4 kB / 0.9937 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004156/0.1684, allocations: 259.9 kB / 0.994 GB, free: 13.77 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.0002059/0.1686, allocations: 144.1 kB / 0.9941 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.1689, allocations: 249.7 kB / 0.9944 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/0.1689, allocations: 14.66 kB / 0.9944 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.169, allocations: 122 kB / 0.9945 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.1706, allocations: 2.901 MB / 0.9973 GB, free: 9.801 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.1758, allocations: 1.582 MB / 0.9989 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.176, allocations: 238.9 kB / 0.9991 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002939/0.1763, allocations: 130.4 kB / 0.9992 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.1769, allocations: 361 kB / 0.9996 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of SimCode: time 7.22e-07/0.1769, allocations: 0 / 0.9996 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of Templates: time 0.0179/0.1948, allocations: 17.73 MB / 1.017 GB, free: 6.082 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.877599410712719]