Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0009834/0.0009834, 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.001118/0.001118, allocations: 169.3 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 0.9744/0.9744, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.71e-05, allocations: 4.406 kB / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.17/0.17, allocations: 163.8 MB / 0.9715 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0073/0.1773, allocations: 6.743 MB / 0.9781 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.1777, allocations: 15.88 kB / 0.9781 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.1783, allocations: 182.6 kB / 0.9783 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1803, allocations: 0.8628 MB / 0.9792 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.1812, allocations: 371 kB / 0.9795 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0008399/0.182, allocations: 0.7093 MB / 0.9802 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.1824, allocations: 227.3 kB / 0.9804 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.184, allocations: 0.8291 MB / 0.9812 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.1844, allocations: 235.3 kB / 0.9815 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1844, allocations: 24 kB / 0.9815 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.1849, allocations: 291.2 kB / 0.9818 GB, free: 3.18 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.1851, allocations: 115.6 kB / 0.9819 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1852, allocations: 115.7 kB / 0.982 GB, free: 2.953 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.1858, allocations: 382.7 kB / 0.9823 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1858, allocations: 8 kB / 0.9824 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1858, allocations: 0 / 0.9824 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1858, allocations: 0 / 0.9824 GB, free: 2.57 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008418/0.1866, allocations: 0.6433 MB / 0.983 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1867, allocations: 8.031 kB / 0.983 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.187, allocations: 99.59 kB / 0.9831 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1874, allocations: 274.8 kB / 0.9833 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1875, allocations: 16.66 kB / 0.9834 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.1875, allocations: 28 kB / 0.9834 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.1879, allocations: 277.5 kB / 0.9837 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1879, allocations: 0 / 0.9837 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1879, allocations: 12 kB / 0.9837 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1879, allocations: 8 kB / 0.9837 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1881, allocations: 90.83 kB / 0.9838 GB, free: 1.027 MB / 0.9323 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.1893, allocations: 1.433 MB / 0.9852 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1894, allocations: 67.05 kB / 0.9852 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.1895, allocations: 39.67 kB / 0.9853 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.1898, allocations: 71.91 kB / 0.9853 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1898, allocations: 41.58 kB / 0.9854 GB, free: 15.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1898, allocations: 0 / 0.9854 GB, free: 15.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003968/0.1902, allocations: 153.4 kB / 0.9855 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1902, allocations: 55.41 kB / 0.9856 GB, free: 15.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1904, allocations: 276.3 kB / 0.9858 GB, free: 14.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1904, allocations: 29.7 kB / 0.9859 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1906, allocations: 238.9 kB / 0.9861 GB, free: 14.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1906, allocations: 47.62 kB / 0.9861 GB, free: 14.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.1907, allocations: 47.31 kB / 0.9862 GB, free: 14.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1908, allocations: 0.5001 MB / 0.9867 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.1908, allocations: 19.98 kB / 0.9867 GB, free: 13.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.191, allocations: 175.1 kB / 0.9869 GB, free: 13.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1911, allocations: 102.1 kB / 0.987 GB, free: 13.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1911, allocations: 0 / 0.987 GB, free: 13.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002088/0.1913, allocations: 133.4 kB / 0.9871 GB, free: 13.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1913, allocations: 15.92 kB / 0.9871 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1913, allocations: 0 / 0.9871 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1913, allocations: 4.156 kB / 0.9871 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1915, allocations: 35.92 kB / 0.9871 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1915, allocations: 7.938 kB / 0.9871 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.875e-05/0.1916, allocations: 11.94 kB / 0.9872 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1916, allocations: 8 kB / 0.9872 GB, free: 13.31 MB / 0.948 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 (17): * Single equations (assignments): 17 * 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.58e-05/0.1917, allocations: 164.5 kB / 0.9873 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1917, allocations: 31.84 kB / 0.9873 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.1919, allocations: 119.4 kB / 0.9875 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1919, allocations: 3.984 kB / 0.9875 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1919, allocations: 4 kB / 0.9875 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.192, allocations: 4 kB / 0.9875 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.1926, allocations: 0.5612 MB / 0.988 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1926, allocations: 0 / 0.988 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.1927, allocations: 24 kB / 0.988 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1927, allocations: 7.984 kB / 0.9881 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1927, allocations: 0 / 0.9881 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1927, allocations: 8.219 kB / 0.9881 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1927, allocations: 7.938 kB / 0.9881 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1929, allocations: 320.3 kB / 0.9884 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.193, allocations: 43.78 kB / 0.9884 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.193, allocations: 0 / 0.9884 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.1931, allocations: 8 kB / 0.9884 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.1931, allocations: 19.86 kB / 0.9884 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.1932, allocations: 4 kB / 0.9884 GB, free: 11.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001113/0.1933, allocations: 197.1 kB / 0.9886 GB, free: 11.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 0.9886 GB, free: 11.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000365/0.1936, allocations: 87.77 kB / 0.9887 GB, free: 11.58 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 (13): * Single equations (assignments): 13 * 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.0002259/0.1939, allocations: 131.2 kB / 0.9888 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.194, allocations: 83.78 kB / 0.9889 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.194, allocations: 4 kB / 0.9889 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.1941, allocations: 51.48 kB / 0.989 GB, free: 11.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.1946, allocations: 85.19 kB / 0.9891 GB, free: 11.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1957, allocations: 0.5316 MB / 0.9896 GB, free: 10.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.214e-05/0.1958, allocations: 96.3 kB / 0.9897 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.1959, allocations: 54.06 kB / 0.9897 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.196, allocations: 24.5 kB / 0.9897 GB, free: 10.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/0.196, allocations: 0 / 0.9897 GB, free: 10.43 MB / 0.948 GB Notification: Performance of Templates: time 0.006982/0.2029, allocations: 3.756 MB / 0.9934 GB, free: 6.789 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.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.368840520037338]