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.001159/0.001159, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009656/0.0009656, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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.9659/0.9659, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.739/1.739, allocations: 359 MB / 0.6052 GB, free: 11.03 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.445e-06/2.445e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.238e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1677/0.1677, allocations: 147.9 MB / 0.9316 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.1713, allocations: 1.768 MB / 0.9333 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007344/0.172, allocations: 31.69 kB / 0.9333 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.1726, allocations: 134.8 kB / 0.9335 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.1742, allocations: 0.5086 MB / 0.934 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.176, allocations: 0.6818 MB / 0.9346 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.1779, allocations: 1.25 MB / 0.9358 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.1789, allocations: 389.7 kB / 0.9362 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.1803, allocations: 0.6196 MB / 0.9368 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.181, allocations: 366.9 kB / 0.9372 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1811, allocations: 44 kB / 0.9372 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.182, allocations: 331.1 kB / 0.9375 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.1823, allocations: 207.3 kB / 0.9377 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.1826, allocations: 211.5 kB / 0.9379 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1839, allocations: 0.6385 MB / 0.9386 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1839, allocations: 0 / 0.9386 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.414e-06/0.1839, allocations: 4 kB / 0.9386 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.1839, allocations: 0 / 0.9386 GB, free: 15.81 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001583/0.1855, allocations: 0.9711 MB / 0.9395 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1856, allocations: 8.031 kB / 0.9395 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1869, allocations: 387.4 kB / 0.9399 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.1876, allocations: 421.3 kB / 0.9403 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1877, allocations: 32.98 kB / 0.9403 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1877, allocations: 48 kB / 0.9404 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1884, allocations: 421.5 kB / 0.9408 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1884, allocations: 3.938 kB / 0.9408 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.1884, allocations: 16 kB / 0.9408 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1884, allocations: 12 kB / 0.9408 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.1888, allocations: 181.8 kB / 0.941 GB, free: 13.21 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.002257/0.191, allocations: 2.031 MB / 0.9429 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.1914, allocations: 167.2 kB / 0.9431 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1916, allocations: 84.25 kB / 0.9432 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.1918, allocations: 51.8 kB / 0.9432 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1921, allocations: 176.6 kB / 0.9434 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 7.374e-06/0.1921, allocations: 0 / 0.9434 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0007417/0.1928, allocations: 346.2 kB / 0.9437 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1929, allocations: 63.28 kB / 0.9438 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.1932, allocations: 422.5 kB / 0.9442 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.1932, allocations: 33.7 kB / 0.9442 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1934, allocations: 323.2 kB / 0.9445 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.1935, allocations: 130.9 kB / 0.9447 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1936, allocations: 95.84 kB / 0.9448 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1938, allocations: 0.5313 MB / 0.9453 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1939, allocations: 112.4 kB / 0.9454 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.1942, allocations: 396.6 kB / 0.9458 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.1945, allocations: 331.1 kB / 0.9461 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1945, allocations: 4 kB / 0.9461 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005901/0.1951, allocations: 467.7 kB / 0.9465 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.1952, allocations: 61.75 kB / 0.9466 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1952, allocations: 0 / 0.9466 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1952, allocations: 8 kB / 0.9466 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1955, allocations: 96.27 kB / 0.9467 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1955, allocations: 15.86 kB / 0.9467 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.1958, allocations: 59.66 kB / 0.9468 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.1958, allocations: 23.98 kB / 0.9468 GB, free: 6.871 MB / 0.8542 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.0001804/0.196, allocations: 181.1 kB / 0.947 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.1961, allocations: 59.72 kB / 0.947 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.1965, allocations: 302.7 kB / 0.9473 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1965, allocations: 4 kB / 0.9473 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1965, allocations: 4 kB / 0.9473 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1965, allocations: 4 kB / 0.9473 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1977, allocations: 0.9399 MB / 0.9482 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.1977, allocations: 4 kB / 0.9482 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.198, allocations: 59.91 kB / 0.9483 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.198, allocations: 8 kB / 0.9483 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.198, allocations: 15.98 kB / 0.9483 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.198, allocations: 11.94 kB / 0.9483 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.198, allocations: 4 kB / 0.9483 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.1988, allocations: 0.5939 MB / 0.9489 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.1989, allocations: 87.62 kB / 0.949 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.1992, allocations: 15.98 kB / 0.949 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1994, allocations: 27.92 kB / 0.949 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1996, allocations: 55.8 kB / 0.9491 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1996, allocations: 12 kB / 0.9491 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002254/0.1998, allocations: 267.1 kB / 0.9494 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.11e-07/0.1998, allocations: 0 / 0.9494 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006819/0.2005, allocations: 163.7 kB / 0.9495 GB, free: 3.883 MB / 0.8542 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.000398/0.2009, allocations: 147.1 kB / 0.9496 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000652/0.2015, allocations: 406 kB / 0.95 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2016, allocations: 4 kB / 0.95 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2018, allocations: 112.8 kB / 0.9501 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.2025, allocations: 230.1 kB / 0.9504 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.2044, allocations: 0.9822 MB / 0.9513 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2045, allocations: 137.8 kB / 0.9515 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003242/0.2048, allocations: 100.1 kB / 0.9516 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.2049, allocations: 40.5 kB / 0.9516 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of SimCode: time 3.637e-06/0.2049, allocations: 0 / 0.9516 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of Templates: time 0.01408/0.219, allocations: 9.451 MB / 0.9608 GB, free: 8.367 MB / 0.8698 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.664861173834652]