Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001293/0.001293, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001976/0.003269, 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.001133/0.001133, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002671, 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.9744/0.9744, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1152/1.09, allocations: 53.68 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.462/2.462, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2886/2.75, allocations: 146 MB / 0.8176 GB, free: 3.816 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.408e-05, allocations: 5.125 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1611/0.1612, allocations: 150.9 MB / 0.9663 GB, free: 10.93 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1658, allocations: 3.966 MB / 0.9702 GB, free: 6.965 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.1663, allocations: 55.56 kB / 0.9703 GB, free: 6.91 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.1669, allocations: 305.8 kB / 0.9706 GB, free: 6.609 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.1686, allocations: 1.173 MB / 0.9717 GB, free: 5.43 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.17, allocations: 0.8887 MB / 0.9726 GB, free: 4.539 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.173, allocations: 2.976 MB / 0.9755 GB, free: 1.562 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1745, allocations: 0.8127 MB / 0.9763 GB, free: 0.7422 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.1772, allocations: 1.615 MB / 0.9779 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.1784, allocations: 0.8062 MB / 0.9786 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.1785, allocations: 104 kB / 0.9787 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/0.1794, allocations: 419.1 kB / 0.9791 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.1798, allocations: 434.9 kB / 0.9796 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.1802, allocations: 399.3 kB / 0.9799 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1815, allocations: 1.102 MB / 0.981 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.1816, allocations: 7.984 kB / 0.981 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1816, allocations: 0 / 0.981 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.1816, allocations: 0 / 0.981 GB, free: 11.91 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001939/0.1835, allocations: 1.589 MB / 0.9826 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1836, allocations: 8.031 kB / 0.9826 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.1847, allocations: 465.2 kB / 0.983 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/0.1855, allocations: 0.6486 MB / 0.9837 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.1856, allocations: 70.12 kB / 0.9837 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1857, allocations: 92 kB / 0.9838 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.1865, allocations: 0.9778 MB / 0.9848 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1865, allocations: 0 / 0.9848 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.1866, allocations: 44 kB / 0.9848 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.1866, allocations: 33.98 kB / 0.9848 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.187, allocations: 253.8 kB / 0.9851 GB, free: 7.551 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.002383/0.1894, allocations: 1.821 MB / 0.9869 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.1897, allocations: 292.4 kB / 0.9871 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1898, allocations: 105.1 kB / 0.9872 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1899, allocations: 32.48 kB / 0.9873 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.19, allocations: 39.06 kB / 0.9873 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 1.933e-06/0.19, allocations: 0 / 0.9873 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.001563/0.1915, allocations: 0.8435 MB / 0.9881 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1916, allocations: 59.91 kB / 0.9882 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.1921, allocations: 0.535 MB / 0.9887 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.1921, allocations: 33.7 kB / 0.9887 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1923, allocations: 413.2 kB / 0.9891 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.1924, allocations: 182.4 kB / 0.9893 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1925, allocations: 106.2 kB / 0.9894 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1926, allocations: 390.5 kB / 0.9898 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.1927, allocations: 68.11 kB / 0.9899 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1929, allocations: 212.6 kB / 0.9901 GB, free: 2.258 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.0006125/0.1935, allocations: 468.6 kB / 0.9905 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1935, allocations: 4 kB / 0.9905 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003885/0.1939, allocations: 345.5 kB / 0.9908 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1939, allocations: 8 kB / 0.9908 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1939, allocations: 4 kB / 0.9908 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.1941, allocations: 74.5 kB / 0.9909 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.1945, allocations: 155.8 kB / 0.9911 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.1959, allocations: 2.493 MB / 0.9935 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.1962, allocations: 19.98 kB / 0.9935 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.1964, allocations: 16 kB / 0.9935 GB, free: 14.44 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: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.1966, allocations: 152.6 kB / 0.9937 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.1967, allocations: 67.86 kB / 0.9937 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.1968, allocations: 91.27 kB / 0.9938 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1968, allocations: 7.984 kB / 0.9938 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.1968, allocations: 0 / 0.9938 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003465/0.1971, allocations: 0.5081 MB / 0.9943 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1982, allocations: 0.9845 MB / 0.9953 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1982, allocations: 4 kB / 0.9953 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.1986, allocations: 155 kB / 0.9955 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.1987, allocations: 107.5 kB / 0.9956 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.1988, allocations: 47.59 kB / 0.9956 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.1989, allocations: 12 kB / 0.9956 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007228/0.1996, allocations: 1.304 MB / 0.9969 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1996, allocations: 7.922 kB / 0.9969 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.2001, allocations: 0.5899 MB / 0.9975 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2002, allocations: 8 kB / 0.9975 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.2004, allocations: 23.98 kB / 0.9975 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.2005, allocations: 47.81 kB / 0.9975 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.2006, allocations: 23.98 kB / 0.9976 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001826/0.2007, allocations: 256.6 kB / 0.9978 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.2007, allocations: 0 / 0.9978 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004652/0.2012, allocations: 284 kB / 0.9981 GB, free: 9.418 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/0.2014, allocations: 124.4 kB / 0.9982 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004874/0.2019, allocations: 0.494 MB / 0.9987 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/0.202, allocations: 15.94 kB / 0.9987 GB, free: 8.754 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.2022, allocations: 281.7 kB / 0.999 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.2042, allocations: 3.041 MB / 1.002 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.2097, allocations: 1.604 MB / 1.004 GB, free: 3.176 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2098, allocations: 227.8 kB / 1.004 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.2101, allocations: 118.4 kB / 1.004 GB, free: 2.812 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/0.2108, allocations: 385 kB / 1.004 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.232e-06/0.2108, allocations: 0 / 1.004 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.02169/0.2325, allocations: 20.69 MB / 1.024 GB, free: 14.21 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: 6.070774583145976]