Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.001315/0.001315, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002061/0.003376, 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.00116/0.00116, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002638, 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.9168/0.9168, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08692/1.004, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.861/1.861, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4891/2.35, allocations: 123.3 MB / 0.728 GB, free: 5.828 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.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7294 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.46e-05, allocations: 10.44 kB / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1779/0.1779, allocations: 146.1 MB / 0.8721 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1803, allocations: 1.572 MB / 0.8736 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.1805, allocations: 11.88 kB / 0.8736 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.1808, allocations: 83.34 kB / 0.8737 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.1815, allocations: 334 kB / 0.874 GB, free: 32 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1825, allocations: 478.3 kB / 0.8745 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005984/0.1831, allocations: 0.6901 MB / 0.8752 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.1834, allocations: 205.8 kB / 0.8754 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.1839, allocations: 398.9 kB / 0.8757 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1841, allocations: 195.4 kB / 0.8759 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.1841, allocations: 24 kB / 0.8759 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005753/0.1847, allocations: 411 kB / 0.8763 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.1848, allocations: 103.8 kB / 0.8764 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.1849, allocations: 91.81 kB / 0.8765 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.1854, allocations: 454.5 kB / 0.877 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.089e-05/0.1854, allocations: 8 kB / 0.877 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1854, allocations: 0 / 0.877 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.1855, allocations: 0 / 0.877 GB, free: 13.02 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006749/0.1861, allocations: 0.62 MB / 0.8776 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1862, allocations: 8.031 kB / 0.8776 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.1866, allocations: 209.5 kB / 0.8778 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1868, allocations: 224.8 kB / 0.878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1868, allocations: 20.88 kB / 0.878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.1869, allocations: 32.27 kB / 0.878 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1872, allocations: 264.7 kB / 0.8783 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1872, allocations: 0 / 0.8783 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1872, allocations: 12 kB / 0.8783 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1872, allocations: 4 kB / 0.8783 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1873, allocations: 74.28 kB / 0.8784 GB, free: 11.48 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.0007845/0.1881, allocations: 0.764 MB / 0.8791 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1884, allocations: 164.1 kB / 0.8793 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.1884, allocations: 43.66 kB / 0.8793 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.1886, allocations: 63.94 kB / 0.8794 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1887, allocations: 34.55 kB / 0.8794 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.983e-06/0.1887, allocations: 0 / 0.8794 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0002885/0.189, allocations: 147.7 kB / 0.8796 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.189, allocations: 51.41 kB / 0.8796 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1891, allocations: 220.9 kB / 0.8798 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1891, allocations: 29.7 kB / 0.8798 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1892, allocations: 156.8 kB / 0.88 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1892, allocations: 71.36 kB / 0.8801 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1893, allocations: 45.69 kB / 0.8801 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.1894, allocations: 334.8 kB / 0.8804 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.1894, allocations: 18.83 kB / 0.8804 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.1895, allocations: 163.7 kB / 0.8806 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1896, allocations: 108.4 kB / 0.8807 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1896, allocations: 4 kB / 0.8807 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001447/0.1898, allocations: 126 kB / 0.8808 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1898, allocations: 11.94 kB / 0.8808 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1898, allocations: 0 / 0.8808 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1898, allocations: 4 kB / 0.8808 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1899, allocations: 55.91 kB / 0.8809 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1899, allocations: 4 kB / 0.8809 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.19, allocations: 32.03 kB / 0.8809 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.19, allocations: 4 kB / 0.8809 GB, free: 8.676 MB / 0.8542 GB 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 (24): * Single equations (assignments): 24 * 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 8.106e-05/0.1901, allocations: 124.6 kB / 0.8811 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.1901, allocations: 19.92 kB / 0.8811 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.1903, allocations: 139.6 kB / 0.8812 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1903, allocations: 4 kB / 0.8812 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1903, allocations: 0 / 0.8812 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1903, allocations: 0 / 0.8812 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.1908, allocations: 497.9 kB / 0.8817 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1908, allocations: 4 kB / 0.8817 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1909, allocations: 43.92 kB / 0.8817 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.191, allocations: 35.78 kB / 0.8818 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.191, allocations: 0 / 0.8818 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.191, allocations: 12 kB / 0.8818 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.191, allocations: 7.984 kB / 0.8818 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.191, allocations: 192 / 0.8818 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1912, allocations: 337.5 kB / 0.8821 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1913, allocations: 8 kB / 0.8821 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.1913, allocations: 12 kB / 0.8821 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1914, allocations: 27.89 kB / 0.8822 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1914, allocations: 7.938 kB / 0.8822 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.1914, allocations: 70.78 kB / 0.8822 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1914, allocations: 0 / 0.8822 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000268/0.1917, allocations: 119.7 kB / 0.8823 GB, free: 7.121 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0002691/0.192, allocations: 168.1 kB / 0.8825 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.1921, allocations: 96.84 kB / 0.8826 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.1921, allocations: 4 kB / 0.8826 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.85e-05/0.1922, allocations: 60.08 kB / 0.8827 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1926, allocations: 136.5 kB / 0.8828 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.1945, allocations: 0.5389 MB / 0.8833 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.001e-05/0.1946, allocations: 96.53 kB / 0.8834 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.1947, allocations: 37.92 kB / 0.8834 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.1949, allocations: 135.2 kB / 0.8836 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.1949, allocations: 0 / 0.8836 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of Templates: time 0.007755/0.2027, allocations: 5.956 MB / 0.8894 GB, free: 15.94 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.1792854545637965]