Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.0007682/0.0007682, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001801, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007035/0.0007035, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009067/0.00161, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9305/0.9305, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0942/1.025, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.816/1.816, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5539/2.37, allocations: 123.3 MB / 0.728 GB, free: 5.859 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.305e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1771/0.1771, allocations: 147.9 MB / 0.8738 GB, free: 332 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003521/0.1807, allocations: 2.849 MB / 0.8766 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.181, allocations: 31.69 kB / 0.8766 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.1814, allocations: 178.7 kB / 0.8768 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1827, allocations: 0.7381 MB / 0.8775 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008463/0.1836, allocations: 0.5455 MB / 0.878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1847, allocations: 1.537 MB / 0.8795 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006575/0.1854, allocations: 414.4 kB / 0.8799 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1864, allocations: 0.8911 MB / 0.8808 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.1869, allocations: 418.7 kB / 0.8812 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.1869, allocations: 52 kB / 0.8812 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.1875, allocations: 355.1 kB / 0.8816 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.1876, allocations: 227.4 kB / 0.8818 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1878, allocations: 195.7 kB / 0.882 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.1885, allocations: 0.6348 MB / 0.8826 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.1885, allocations: 0 / 0.8826 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1885, allocations: 0 / 0.8826 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.1885, allocations: 0 / 0.8826 GB, free: 7.297 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009816/0.1895, allocations: 0.9276 MB / 0.8835 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1896, allocations: 8.031 kB / 0.8835 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.1903, allocations: 293.5 kB / 0.8838 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.1907, allocations: 402.4 kB / 0.8842 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1908, allocations: 37.12 kB / 0.8842 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.1908, allocations: 44 kB / 0.8842 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.1912, allocations: 0.5179 MB / 0.8847 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1913, allocations: 0 / 0.8847 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1913, allocations: 20 kB / 0.8848 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.1913, allocations: 13 kB / 0.8848 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1915, allocations: 126.9 kB / 0.8849 GB, free: 4.793 MB / 0.8542 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.001229/0.1927, allocations: 0.9004 MB / 0.8858 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.193, allocations: 198.8 kB / 0.886 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.193, allocations: 67.64 kB / 0.886 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.1931, allocations: 27.98 kB / 0.8861 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.1932, allocations: 42.5 kB / 0.8861 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.1932, allocations: 0 / 0.8861 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.0009502/0.1941, allocations: 0.5087 MB / 0.8866 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1941, allocations: 55.41 kB / 0.8866 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1943, allocations: 319.2 kB / 0.887 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1944, allocations: 33.7 kB / 0.887 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.1945, allocations: 221.4 kB / 0.8872 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.1945, allocations: 122.9 kB / 0.8873 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.1946, allocations: 65.66 kB / 0.8874 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1948, allocations: 354.7 kB / 0.8877 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1949, allocations: 34.77 kB / 0.8877 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.195, allocations: 150 kB / 0.8879 GB, free: 1.555 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.1953, allocations: 275.1 kB / 0.8882 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1953, allocations: 0 / 0.8882 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002154/0.1956, allocations: 193.4 kB / 0.8883 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1956, allocations: 8 kB / 0.8883 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1956, allocations: 3.938 kB / 0.8883 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1956, allocations: 4 kB / 0.8883 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.1958, allocations: 83.91 kB / 0.8884 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1958, allocations: 4 kB / 0.8884 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.196, allocations: 11.98 kB / 0.8884 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.196, allocations: 12 kB / 0.8885 GB, free: 0.9453 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001298/0.1961, allocations: 140.6 kB / 0.8886 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.1962, allocations: 39.95 kB / 0.8886 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.1962, allocations: 52.19 kB / 0.8887 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1962, allocations: 4 kB / 0.8887 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.1962, allocations: 3.938 kB / 0.8887 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001675/0.1964, allocations: 213 kB / 0.8889 GB, free: 468 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.1972, allocations: 0.7714 MB / 0.8896 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.1972, allocations: 4 kB / 0.8896 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.1974, allocations: 90.72 kB / 0.8897 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1975, allocations: 63.72 kB / 0.8898 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1975, allocations: 8 kB / 0.8898 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1975, allocations: 8.469 kB / 0.8898 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.1975, allocations: 19.92 kB / 0.8898 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1975, allocations: 7.938 kB / 0.8898 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.1979, allocations: 0.4916 MB / 0.8903 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1979, allocations: 8 kB / 0.8903 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1981, allocations: 21.44 kB / 0.8903 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.1981, allocations: 31.89 kB / 0.8904 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.1982, allocations: 19.98 kB / 0.8904 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.1982, allocations: 128.7 kB / 0.8905 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1982, allocations: 0 / 0.8905 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002995/0.1985, allocations: 144 kB / 0.8907 GB, free: 14.48 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.0002517/0.1988, allocations: 128.2 kB / 0.8908 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.1991, allocations: 149.2 kB / 0.8909 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.1992, allocations: 15.92 kB / 0.8909 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.1992, allocations: 88.56 kB / 0.891 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.2, allocations: 351 kB / 0.8914 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.2033, allocations: 0.9863 MB / 0.8923 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2034, allocations: 149.7 kB / 0.8925 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.2036, allocations: 84.22 kB / 0.8925 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.204, allocations: 239.1 kB / 0.8928 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/0.204, allocations: 0 / 0.8928 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.01383/0.2179, allocations: 11 MB / 0.9035 GB, free: 1.477 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.204973876476288]