Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.00142/0.00142, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001725/0.001725, allocations: 169 kB / 24.27 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.854/1.854, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.434e-05, allocations: 5.406 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.164/0.164, allocations: 178.5 MB / 0.9615 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00576/0.1698, allocations: 4.57 MB / 0.9659 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/0.1704, allocations: 27.75 kB / 0.966 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.1711, allocations: 265.9 kB / 0.9662 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.1729, allocations: 0.7809 MB / 0.967 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.1762, allocations: 1.611 MB / 0.9685 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.1776, allocations: 1.258 MB / 0.9698 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.1782, allocations: 385.8 kB / 0.9701 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.1794, allocations: 0.7518 MB / 0.9709 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.1799, allocations: 374.8 kB / 0.9712 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.18, allocations: 48 kB / 0.9713 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.1822, allocations: 1.277 MB / 0.9725 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.1823, allocations: 207.3 kB / 0.9727 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.1826, allocations: 211.5 kB / 0.9729 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.1843, allocations: 1.157 MB / 0.9741 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1843, allocations: 0 / 0.9741 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1843, allocations: 0 / 0.9741 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.1844, allocations: 0 / 0.9741 GB, free: 12.72 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001452/0.1858, allocations: 1.048 MB / 0.9751 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1858, allocations: 8.031 kB / 0.9751 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.1876, allocations: 390.5 kB / 0.9755 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.1883, allocations: 438.1 kB / 0.9759 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.1884, allocations: 32.98 kB / 0.9759 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.1885, allocations: 44 kB / 0.9759 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.1891, allocations: 425.5 kB / 0.9764 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1891, allocations: 7.938 kB / 0.9764 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1892, allocations: 16 kB / 0.9764 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.1892, allocations: 15.98 kB / 0.9764 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.1896, allocations: 177.8 kB / 0.9766 GB, free: 10.02 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.002068/0.1917, allocations: 2.035 MB / 0.9785 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.1921, allocations: 163.2 kB / 0.9787 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1923, allocations: 88.22 kB / 0.9788 GB, free: 7.648 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/0.1928, allocations: 91.78 kB / 0.9789 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.1931, allocations: 164.8 kB / 0.979 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.1931, allocations: 0 / 0.979 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.0008483/0.194, allocations: 354.5 kB / 0.9794 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.194, allocations: 55.41 kB / 0.9794 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.1944, allocations: 414.6 kB / 0.9798 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.1944, allocations: 33.7 kB / 0.9798 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.1947, allocations: 319.2 kB / 0.9802 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1948, allocations: 138.8 kB / 0.9803 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1949, allocations: 99.78 kB / 0.9804 GB, free: 5.945 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1951, allocations: 0.5235 MB / 0.9809 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1953, allocations: 116.4 kB / 0.981 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1955, allocations: 396.6 kB / 0.9814 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1958, allocations: 331.1 kB / 0.9817 GB, free: 4.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1958, allocations: 4 kB / 0.9817 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004991/0.1963, allocations: 463.9 kB / 0.9821 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.1964, allocations: 67.39 kB / 0.9822 GB, free: 3.844 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1964, allocations: 7.938 kB / 0.9822 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1964, allocations: 4 kB / 0.9822 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.1967, allocations: 91.89 kB / 0.9823 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1967, allocations: 4 kB / 0.9823 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1969, allocations: 67.58 kB / 0.9824 GB, free: 3.672 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1969, allocations: 20.19 kB / 0.9824 GB, free: 3.652 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001455/0.1971, allocations: 194.5 kB / 0.9826 GB, free: 3.453 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.1971, allocations: 63.61 kB / 0.9826 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.1976, allocations: 315.4 kB / 0.9829 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1976, allocations: 4 kB / 0.9829 GB, free: 3.074 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1976, allocations: 0 / 0.9829 GB, free: 3.074 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1976, allocations: 3.984 kB / 0.9829 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009894/0.1986, allocations: 0.9179 MB / 0.9838 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1986, allocations: 3.984 kB / 0.9838 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.1988, allocations: 67.91 kB / 0.9839 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1988, allocations: 4 kB / 0.9839 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.1988, allocations: 12.44 kB / 0.9839 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1988, allocations: 11.98 kB / 0.9839 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1988, allocations: 11.88 kB / 0.984 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.1994, allocations: 0.5974 MB / 0.9845 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1995, allocations: 83.59 kB / 0.9846 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.1996, allocations: 12 kB / 0.9846 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1997, allocations: 27.97 kB / 0.9847 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.1998, allocations: 47.81 kB / 0.9847 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1999, allocations: 24.02 kB / 0.9847 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001813/0.2, allocations: 271.1 kB / 0.985 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2, allocations: 0 / 0.985 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004392/0.2005, allocations: 171.7 kB / 0.9851 GB, free: 0.6406 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002817/0.2008, allocations: 187 kB / 0.9853 GB, free: 460 kB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.2014, allocations: 387 kB / 0.9857 GB, free: 32 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2014, allocations: 192 / 0.9857 GB, free: 32 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.2015, allocations: 129.7 kB / 0.9858 GB, free: 15.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.2022, allocations: 222.4 kB / 0.986 GB, free: 15.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2037, allocations: 0.9699 MB / 0.987 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.236e-05/0.2038, allocations: 137.8 kB / 0.9871 GB, free: 14.47 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.204, allocations: 92.11 kB / 0.9872 GB, free: 14.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2041, allocations: 40.5 kB / 0.9872 GB, free: 14.34 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/0.2041, allocations: 0 / 0.9872 GB, free: 14.34 MB / 0.948 GB Notification: Performance of Templates: time 0.01232/0.2165, allocations: 9.336 MB / 0.9963 GB, free: 5.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.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.630534416995943]