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.0008621/0.0008621, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001969, 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.0006948/0.0006948, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009196/0.001614, 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 0.9502/0.9502, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09821/1.048, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.381/2.381, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2592/2.64, allocations: 145.9 MB / 0.817 GB, free: 4.199 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.563e-06/1.563e-06, allocations: 0 / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.147e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1422/0.1422, allocations: 150.9 MB / 0.9657 GB, free: 11.35 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00694/0.1491, allocations: 3.955 MB / 0.9696 GB, free: 7.383 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.15, allocations: 55.56 kB / 0.9696 GB, free: 7.328 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.1506, allocations: 305.7 kB / 0.9699 GB, free: 7.027 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.1525, allocations: 1.181 MB / 0.9711 GB, free: 5.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1539, allocations: 0.8965 MB / 0.972 GB, free: 4.941 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002751/0.1567, allocations: 2.962 MB / 0.9748 GB, free: 1.969 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.1578, allocations: 0.815 MB / 0.9756 GB, free: 1.156 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.1597, allocations: 1.656 MB / 0.9773 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008658/0.1606, allocations: 0.8179 MB / 0.9781 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1607, allocations: 104 kB / 0.9782 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.1614, allocations: 411.1 kB / 0.9786 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.1617, allocations: 434.9 kB / 0.979 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.162, allocations: 399.4 kB / 0.9793 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1631, allocations: 1.106 MB / 0.9804 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.1632, allocations: 0 / 0.9804 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.225e-06/0.1632, allocations: 4 kB / 0.9804 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.1632, allocations: 4 kB / 0.9804 GB, free: 12.27 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.001503/0.1647, allocations: 1.593 MB / 0.982 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1647, allocations: 8.625 kB / 0.982 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/0.1657, allocations: 461.2 kB / 0.9824 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.1665, allocations: 0.6486 MB / 0.9831 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.1665, allocations: 74.12 kB / 0.9831 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.902e-05/0.1666, allocations: 88 kB / 0.9832 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.1674, allocations: 0.9817 MB / 0.9842 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1674, allocations: 0 / 0.9842 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.1675, allocations: 35.98 kB / 0.9842 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.1675, allocations: 37.98 kB / 0.9843 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.1678, allocations: 253.8 kB / 0.9845 GB, free: 7.914 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.002473/0.1703, allocations: 1.817 MB / 0.9863 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1706, allocations: 282 kB / 0.9865 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1707, allocations: 113.1 kB / 0.9866 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/0.1708, allocations: 24.48 kB / 0.9867 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1708, allocations: 43.06 kB / 0.9867 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 2.063e-06/0.1708, allocations: 0 / 0.9867 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.00142/0.1722, allocations: 0.8278 MB / 0.9875 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.1722, allocations: 55.91 kB / 0.9876 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1726, allocations: 0.535 MB / 0.9881 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.1726, allocations: 37.7 kB / 0.9881 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.173, allocations: 413.2 kB / 0.9885 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-05/0.1731, allocations: 186.4 kB / 0.9887 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1733, allocations: 106.2 kB / 0.9888 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1734, allocations: 390.5 kB / 0.9892 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.1735, allocations: 64.11 kB / 0.9892 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1736, allocations: 216.6 kB / 0.9894 GB, free: 2.637 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.0004883/0.1741, allocations: 448.6 kB / 0.9899 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1741, allocations: 0 / 0.9899 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003887/0.1745, allocations: 349.7 kB / 0.9902 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1745, allocations: 8 kB / 0.9902 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1745, allocations: 4 kB / 0.9902 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.1747, allocations: 66.16 kB / 0.9903 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.1751, allocations: 156 kB / 0.9904 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.1766, allocations: 2.493 MB / 0.9929 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.1769, allocations: 23.98 kB / 0.9929 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.1769, allocations: 16 kB / 0.9929 GB, free: 14.84 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.0001717/0.1771, allocations: 152.5 kB / 0.9931 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.1772, allocations: 71.86 kB / 0.9931 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-05/0.1773, allocations: 83.28 kB / 0.9932 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1773, allocations: 8.031 kB / 0.9932 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1773, allocations: 192 / 0.9932 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000312/0.1776, allocations: 0.5082 MB / 0.9937 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1787, allocations: 0.9932 MB / 0.9947 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1787, allocations: 4 kB / 0.9947 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.179, allocations: 154.6 kB / 0.9948 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1792, allocations: 103.5 kB / 0.9949 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.1793, allocations: 51.69 kB / 0.995 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1793, allocations: 8 kB / 0.995 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000823/0.1801, allocations: 1.296 MB / 0.9962 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.1801, allocations: 11.88 kB / 0.9963 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1806, allocations: 0.586 MB / 0.9968 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.1807, allocations: 16 kB / 0.9968 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.181, allocations: 26.61 kB / 0.9969 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.181, allocations: 51.8 kB / 0.9969 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.1811, allocations: 19.98 kB / 0.9969 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001804/0.1813, allocations: 252.6 kB / 0.9972 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1813, allocations: 0 / 0.9972 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005314/0.1818, allocations: 276 kB / 0.9974 GB, free: 9.84 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.0002126/0.182, allocations: 136.3 kB / 0.9976 GB, free: 9.699 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.1825, allocations: 0.4903 MB / 0.9981 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-05/0.1825, allocations: 16 kB / 0.9981 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.1827, allocations: 252.1 kB / 0.9983 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.1838, allocations: 0.5948 MB / 0.9989 GB, free: 8.312 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.1896, allocations: 1.628 MB / 1 GB, free: 6.602 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.1898, allocations: 227.7 kB / 1.001 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005223/0.1903, allocations: 126.4 kB / 1.001 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/0.191, allocations: 393 kB / 1.001 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of SimCode: time 1.493e-06/0.191, allocations: 0 / 1.001 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of Templates: time 0.02406/0.2151, allocations: 20.65 MB / 1.021 GB, free: 1.676 MB / 0.9948 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.824191407300532]