Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009967/0.0009967, 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.001086/0.001086, 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 0.9282/0.9282, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.964/1.964, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.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_12_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_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.952e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1609/0.1609, allocations: 178.6 MB / 0.9859 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.1654, allocations: 4.57 MB / 0.9904 GB, free: 10.3 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.1658, allocations: 27.75 kB / 0.9904 GB, free: 10.28 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.1663, allocations: 266 kB / 0.9907 GB, free: 10.02 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1677, allocations: 0.7769 MB / 0.9914 GB, free: 9.234 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.1702, allocations: 1.603 MB / 0.993 GB, free: 7.625 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.1714, allocations: 1.258 MB / 0.9942 GB, free: 6.363 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.1719, allocations: 378 kB / 0.9946 GB, free: 5.992 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.1733, allocations: 0.997 MB / 0.9956 GB, free: 4.992 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.1737, allocations: 354.9 kB / 0.9959 GB, free: 4.645 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.1737, allocations: 44 kB / 0.9959 GB, free: 4.602 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.1754, allocations: 1.273 MB / 0.9972 GB, free: 3.324 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1755, allocations: 195.4 kB / 0.9974 GB, free: 3.133 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.1757, allocations: 219.5 kB / 0.9976 GB, free: 2.918 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.1773, allocations: 1.161 MB / 0.9987 GB, free: 1.754 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1773, allocations: 0 / 0.9987 GB, free: 1.754 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1773, allocations: 0 / 0.9987 GB, free: 1.754 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1773, allocations: 0 / 0.9987 GB, free: 1.754 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001169/0.1784, allocations: 1.044 MB / 0.9997 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1785, allocations: 8.031 kB / 0.9997 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1797, allocations: 386.5 kB / 1 GB, free: 280 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.1803, allocations: 430.4 kB / 1.001 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1803, allocations: 33 kB / 1.001 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.1804, allocations: 40 kB / 1.001 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.1809, allocations: 437.4 kB / 1.001 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1809, allocations: 0 / 1.001 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.1809, allocations: 16 kB / 1.001 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1809, allocations: 8 kB / 1.001 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.1812, allocations: 181.8 kB / 1.001 GB, free: 15.07 MB / 0.9636 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.001546/0.1828, allocations: 2.05 MB / 1.003 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.1831, allocations: 167.2 kB / 1.003 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1832, allocations: 79.59 kB / 1.003 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.1835, allocations: 87.92 kB / 1.004 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1837, allocations: 170.2 kB / 1.004 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.1837, allocations: 0 / 1.004 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0006427/0.1844, allocations: 349.1 kB / 1.004 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1844, allocations: 67.33 kB / 1.004 GB, free: 12 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1847, allocations: 406.6 kB / 1.004 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1847, allocations: 37.7 kB / 1.005 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1849, allocations: 323.2 kB / 1.005 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.185, allocations: 134.8 kB / 1.005 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1851, allocations: 95.8 kB / 1.005 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1852, allocations: 0.5274 MB / 1.006 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1854, allocations: 116.4 kB / 1.006 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.1856, allocations: 396.8 kB / 1.006 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.1859, allocations: 336.2 kB / 1.006 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1859, allocations: 0 / 1.006 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004909/0.1864, allocations: 467.5 kB / 1.007 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1865, allocations: 74.14 kB / 1.007 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1865, allocations: 4.375 kB / 1.007 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1865, allocations: 8 kB / 1.007 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1867, allocations: 87.89 kB / 1.007 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1867, allocations: 11.92 kB / 1.007 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1869, allocations: 59.7 kB / 1.007 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.1869, allocations: 20 kB / 1.007 GB, free: 8.691 MB / 0.9636 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.0001334/0.1871, allocations: 186.2 kB / 1.007 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.1871, allocations: 63.66 kB / 1.007 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.1875, allocations: 313.7 kB / 1.008 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1875, allocations: 3.938 kB / 1.008 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1875, allocations: 4 kB / 1.008 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1876, allocations: 0 / 1.008 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.1885, allocations: 0.9205 MB / 1.009 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1885, allocations: 4 kB / 1.009 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1887, allocations: 71.89 kB / 1.009 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1887, allocations: 4 kB / 1.009 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.1887, allocations: 12 kB / 1.009 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1887, allocations: 7.938 kB / 1.009 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1887, allocations: 7.938 kB / 1.009 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.1893, allocations: 0.5989 MB / 1.009 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1894, allocations: 83.61 kB / 1.009 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.1894, allocations: 11.98 kB / 1.009 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1896, allocations: 23.98 kB / 1.009 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.1897, allocations: 55.8 kB / 1.009 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1897, allocations: 16 kB / 1.009 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001612/0.1898, allocations: 271.1 kB / 1.01 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1898, allocations: 0 / 1.01 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00036/0.1902, allocations: 167.7 kB / 1.01 GB, free: 5.703 MB / 0.9636 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.0002479/0.1905, allocations: 187.1 kB / 1.01 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.1909, allocations: 410.1 kB / 1.01 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1909, allocations: 0 / 1.01 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.191, allocations: 112.9 kB / 1.01 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.1917, allocations: 225.8 kB / 1.011 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.193, allocations: 0.9698 MB / 1.012 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.1931, allocations: 137.7 kB / 1.012 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.1933, allocations: 100.1 kB / 1.012 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.1934, allocations: 40.5 kB / 1.012 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/0.1934, allocations: 0 / 1.012 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of Templates: time 0.01165/0.2051, allocations: 9.334 MB / 1.021 GB, free: 10.29 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.81415967294015]