Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.0007672/0.0007672, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009912/0.001758, 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.0007037/0.0007037, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008653/0.001569, 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.9352/0.9352, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08459/1.02, 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.375/2.375, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2542/2.629, allocations: 145.9 MB / 0.817 GB, free: 4.238 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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.603e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1687/0.1687, allocations: 149.6 MB / 0.9644 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.007465/0.1762, allocations: 3.562 MB / 0.9679 GB, free: 9.141 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008079/0.177, allocations: 47.62 kB / 0.9679 GB, free: 9.094 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.1775, allocations: 254.2 kB / 0.9682 GB, free: 8.844 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.1791, allocations: 1.014 MB / 0.9692 GB, free: 7.824 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1801, allocations: 0.6821 MB / 0.9698 GB, free: 7.141 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1818, allocations: 2.214 MB / 0.972 GB, free: 4.922 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008736/0.1827, allocations: 0.6257 MB / 0.9726 GB, free: 4.316 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.1843, allocations: 1.388 MB / 0.974 GB, free: 2.992 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.1848, allocations: 0.5764 MB / 0.9745 GB, free: 2.414 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.1849, allocations: 76 kB / 0.9746 GB, free: 2.34 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.1854, allocations: 371.1 kB / 0.975 GB, free: 1.977 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1857, allocations: 303.2 kB / 0.9752 GB, free: 1.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.1859, allocations: 275.5 kB / 0.9755 GB, free: 1.41 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008456/0.1868, allocations: 0.8137 MB / 0.9763 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.1868, allocations: 4 kB / 0.9763 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.485e-06/0.1868, allocations: 0 / 0.9763 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.1868, allocations: 3.938 kB / 0.9763 GB, free: 0.5859 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001298/0.1881, allocations: 1.192 MB / 0.9775 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1882, allocations: 8.031 kB / 0.9775 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/0.1891, allocations: 405.2 kB / 0.9779 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.1897, allocations: 0.5312 MB / 0.9784 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.1897, allocations: 45.44 kB / 0.9784 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.1898, allocations: 64 kB / 0.9785 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.1903, allocations: 0.5542 MB / 0.979 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1903, allocations: 0 / 0.979 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1903, allocations: 27.98 kB / 0.9791 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.1904, allocations: 25.3 kB / 0.9791 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.1906, allocations: 170.3 kB / 0.9792 GB, free: 13.44 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.001393/0.192, allocations: 1.183 MB / 0.9804 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.1923, allocations: 267.2 kB / 0.9807 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.1924, allocations: 87.38 kB / 0.9807 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.1925, allocations: 23.98 kB / 0.9808 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1925, allocations: 42.5 kB / 0.9808 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.1925, allocations: 0 / 0.9808 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=46): time 0.001126/0.1936, allocations: 0.7253 MB / 0.9815 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1937, allocations: 59.16 kB / 0.9816 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1939, allocations: 407.2 kB / 0.982 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1939, allocations: 41.7 kB / 0.982 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1941, allocations: 274.1 kB / 0.9823 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.1941, allocations: 170.5 kB / 0.9824 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.1942, allocations: 86.14 kB / 0.9825 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1943, allocations: 370.6 kB / 0.9829 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.1944, allocations: 51.8 kB / 0.9829 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1945, allocations: 158 kB / 0.9831 GB, free: 9.379 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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.195, allocations: 429.5 kB / 0.9835 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.195, allocations: 4 kB / 0.9835 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000256/0.1953, allocations: 234.4 kB / 0.9837 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1953, allocations: 6.188 kB / 0.9837 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1953, allocations: 0 / 0.9837 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.1953, allocations: 8.156 kB / 0.9837 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.1955, allocations: 107.9 kB / 0.9838 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1955, allocations: 7.938 kB / 0.9838 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1957, allocations: 15.95 kB / 0.9838 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1958, allocations: 15.98 kB / 0.9838 GB, free: 8.551 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (54): * Single equations (assignments): 54 * 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.0001273/0.1959, allocations: 148.5 kB / 0.984 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.196, allocations: 55.94 kB / 0.984 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.196, allocations: 73.5 kB / 0.9841 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1961, allocations: 8 kB / 0.9841 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1961, allocations: 0 / 0.9841 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001931/0.1962, allocations: 260.2 kB / 0.9844 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/0.1972, allocations: 1.043 MB / 0.9854 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1972, allocations: 4 kB / 0.9854 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.1976, allocations: 143.2 kB / 0.9855 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1977, allocations: 87.58 kB / 0.9856 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1977, allocations: 8 kB / 0.9856 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1977, allocations: 20 kB / 0.9856 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.1977, allocations: 11.92 kB / 0.9856 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.1977, allocations: 11.94 kB / 0.9857 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.1982, allocations: 0.5735 MB / 0.9862 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.1982, allocations: 16 kB / 0.9862 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1984, allocations: 23.98 kB / 0.9863 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.1985, allocations: 39.83 kB / 0.9863 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.1985, allocations: 19.98 kB / 0.9863 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001259/0.1986, allocations: 188.4 kB / 0.9865 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1986, allocations: 0 / 0.9865 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003785/0.199, allocations: 204 kB / 0.9867 GB, free: 5.402 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (47): * Single equations (assignments): 47 * 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.0002216/0.1992, allocations: 132.1 kB / 0.9868 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1995, allocations: 212 kB / 0.987 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.1995, allocations: 8 kB / 0.987 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1996, allocations: 131 kB / 0.9872 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.2006, allocations: 0.5111 MB / 0.9876 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.2041, allocations: 1.335 MB / 0.989 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.2042, allocations: 187 kB / 0.9891 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000282/0.2045, allocations: 109.1 kB / 0.9892 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.205, allocations: 301.1 kB / 0.9895 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of SimCode: time 8.11e-07/0.205, allocations: 0 / 0.9895 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of Templates: time 0.01738/0.2224, allocations: 16.48 MB / 1.006 GB, free: 2.289 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.659678306430578]