Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.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.001006/0.001006, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001409/0.001409, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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 1.032/1.032, allocations: 177.2 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.956/1.956, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.569e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1721/0.1721, allocations: 165.8 MB / 0.9735 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1787, allocations: 7.477 MB / 0.9808 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.1791, allocations: 19.81 kB / 0.9808 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007244/0.1798, allocations: 210.5 kB / 0.981 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.181, allocations: 0.5984 MB / 0.9816 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.1819, allocations: 466.4 kB / 0.982 GB, free: 2.895 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.1826, allocations: 0.7204 MB / 0.9827 GB, free: 2.172 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.1829, allocations: 211.7 kB / 0.9829 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.1838, allocations: 0.6384 MB / 0.9836 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.184, allocations: 195.4 kB / 0.9838 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.184, allocations: 20 kB / 0.9838 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.1846, allocations: 0.5766 MB / 0.9843 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1847, allocations: 111.6 kB / 0.9844 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.1848, allocations: 115.7 kB / 0.9846 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.1854, allocations: 0.4984 MB / 0.985 GB, free: 15.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1854, allocations: 3.938 kB / 0.985 GB, free: 15.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1854, allocations: 0 / 0.985 GB, free: 15.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.1854, allocations: 0 / 0.985 GB, free: 15.81 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007098/0.1861, allocations: 0.6741 MB / 0.9857 GB, free: 15.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1862, allocations: 8.031 kB / 0.9857 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.1865, allocations: 103.5 kB / 0.9858 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1868, allocations: 270.8 kB / 0.9861 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1868, allocations: 20.5 kB / 0.9861 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1869, allocations: 20 kB / 0.9861 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1872, allocations: 277.3 kB / 0.9864 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1872, allocations: 4 kB / 0.9864 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1872, allocations: 11.94 kB / 0.9864 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1872, allocations: 4 kB / 0.9864 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1874, allocations: 87.45 kB / 0.9865 GB, free: 14.23 MB / 0.948 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.001168/0.1885, allocations: 1.938 MB / 0.9884 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1887, allocations: 63.06 kB / 0.9884 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.1887, allocations: 35.7 kB / 0.9885 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.1889, allocations: 39.97 kB / 0.9885 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1889, allocations: 45.33 kB / 0.9885 GB, free: 11.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1889, allocations: 0 / 0.9885 GB, free: 11.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003209/0.1892, allocations: 137.4 kB / 0.9887 GB, free: 11.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.1893, allocations: 51.41 kB / 0.9887 GB, free: 11.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1895, allocations: 322.2 kB / 0.989 GB, free: 11.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1895, allocations: 29.7 kB / 0.9891 GB, free: 11.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1896, allocations: 258.8 kB / 0.9893 GB, free: 11.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1896, allocations: 39.69 kB / 0.9893 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1897, allocations: 51.36 kB / 0.9894 GB, free: 11.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1898, allocations: 0.5079 MB / 0.9899 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.1898, allocations: 27.67 kB / 0.9899 GB, free: 10.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.19, allocations: 397.5 kB / 0.9903 GB, free: 10 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1902, allocations: 198.8 kB / 0.9905 GB, free: 9.738 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1902, allocations: 4 kB / 0.9905 GB, free: 9.734 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002143/0.1904, allocations: 189.1 kB / 0.9907 GB, free: 9.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1904, allocations: 4 kB / 0.9907 GB, free: 9.539 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1904, allocations: 4 kB / 0.9907 GB, free: 9.535 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1904, allocations: 8.344 kB / 0.9907 GB, free: 9.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1906, allocations: 47.92 kB / 0.9907 GB, free: 9.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1906, allocations: 7.938 kB / 0.9907 GB, free: 9.473 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1907, allocations: 27.88 kB / 0.9908 GB, free: 9.445 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1907, allocations: 12 kB / 0.9908 GB, free: 9.434 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.865e-05/0.1908, allocations: 154.7 kB / 0.9909 GB, free: 9.277 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001717/0.1909, allocations: 394.5 kB / 0.9913 GB, free: 8.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001409/0.1911, allocations: 210.9 kB / 0.9915 GB, free: 8.496 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.1911, allocations: 0 / 0.9915 GB, free: 8.496 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001854/0.1913, allocations: 185.2 kB / 0.9917 GB, free: 8.309 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.1913, allocations: 11.94 kB / 0.9917 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.1913, allocations: 4 kB / 0.9917 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.1913, allocations: 4 kB / 0.9917 GB, free: 8.289 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.1914, allocations: 43.91 kB / 0.9917 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1914, allocations: 11.94 kB / 0.9917 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.1915, allocations: 24.3 kB / 0.9918 GB, free: 8.211 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1915, allocations: 16 kB / 0.9918 GB, free: 8.195 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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 9.335e-05/0.1916, allocations: 284 kB / 0.9921 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.1916, allocations: 27.84 kB / 0.9921 GB, free: 7.883 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.1917, allocations: 103.5 kB / 0.9922 GB, free: 7.773 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1918, allocations: 7.938 kB / 0.9922 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1918, allocations: 0 / 0.9922 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1918, allocations: 0 / 0.9922 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.1922, allocations: 0.5339 MB / 0.9927 GB, free: 7.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1922, allocations: 4 kB / 0.9927 GB, free: 7.156 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.1923, allocations: 19.98 kB / 0.9927 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1923, allocations: 4 kB / 0.9927 GB, free: 7.133 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1923, allocations: 0 / 0.9927 GB, free: 7.133 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1923, allocations: 7.938 kB / 0.9927 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1923, allocations: 4 kB / 0.9927 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1925, allocations: 313.6 kB / 0.993 GB, free: 6.766 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1925, allocations: 39.8 kB / 0.9931 GB, free: 6.727 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1925, allocations: 4 kB / 0.9931 GB, free: 6.723 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1926, allocations: 4 kB / 0.9931 GB, free: 6.719 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1926, allocations: 15.97 kB / 0.9931 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1926, allocations: 7.938 kB / 0.9931 GB, free: 6.695 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001166/0.1928, allocations: 219 kB / 0.9933 GB, free: 6.484 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1928, allocations: 0 / 0.9933 GB, free: 6.484 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003613/0.1931, allocations: 147.7 kB / 0.9935 GB, free: 6.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0002169/0.1933, allocations: 155.3 kB / 0.9936 GB, free: 6.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1936, allocations: 159 kB / 0.9938 GB, free: 6.016 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1936, allocations: 0 / 0.9938 GB, free: 6.016 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.1936, allocations: 45.11 kB / 0.9938 GB, free: 5.969 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.194, allocations: 105.6 kB / 0.9939 GB, free: 5.867 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.1948, allocations: 0.5083 MB / 0.9944 GB, free: 5.297 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.1949, allocations: 104.5 kB / 0.9945 GB, free: 5.176 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.195, allocations: 66.22 kB / 0.9946 GB, free: 5.113 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.195, allocations: 28.48 kB / 0.9946 GB, free: 5.086 MB / 0.948 GB Notification: Performance of SimCode: time 6.62e-07/0.195, allocations: 4 kB / 0.9946 GB, free: 5.082 MB / 0.948 GB Notification: Performance of Templates: time 0.006107/0.2012, allocations: 4.225 MB / 0.9987 GB, free: 0.9766 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.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.5669145081192255]