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.0009807/0.0009807, 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.0009581/0.0009581, 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.9942/0.9942, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.922/1.922, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 1.763e-06/1.763e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.227e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1375/0.1375, allocations: 147.9 MB / 0.9316 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1413, allocations: 1.763 MB / 0.9333 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000611/0.1419, allocations: 27.75 kB / 0.9333 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1425, allocations: 130.8 kB / 0.9335 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1439, allocations: 0.5126 MB / 0.934 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.1456, allocations: 0.674 MB / 0.9346 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.1475, allocations: 1.261 MB / 0.9359 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.1483, allocations: 369.8 kB / 0.9362 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1496, allocations: 0.6312 MB / 0.9368 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.1501, allocations: 366.8 kB / 0.9372 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.1502, allocations: 48 kB / 0.9372 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.1509, allocations: 323.2 kB / 0.9375 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.1511, allocations: 203.3 kB / 0.9377 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.1514, allocations: 211.5 kB / 0.9379 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.1523, allocations: 0.6423 MB / 0.9385 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1523, allocations: 0 / 0.9385 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1523, allocations: 0 / 0.9385 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1523, allocations: 4 kB / 0.9386 GB, free: 0.9062 MB / 0.8855 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.001463/0.1538, allocations: 0.9768 MB / 0.9395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1538, allocations: 12.03 kB / 0.9395 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.1556, allocations: 379.5 kB / 0.9399 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.1563, allocations: 432.8 kB / 0.9403 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.1564, allocations: 37 kB / 0.9403 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.1565, allocations: 43.98 kB / 0.9404 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.1573, allocations: 425.5 kB / 0.9408 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1573, allocations: 0 / 0.9408 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.1573, allocations: 20 kB / 0.9408 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.1573, allocations: 11.94 kB / 0.9408 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.1578, allocations: 177.7 kB / 0.941 GB, free: 14.3 MB / 0.9011 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.002245/0.16, allocations: 2.039 MB / 0.943 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.1605, allocations: 167.1 kB / 0.9431 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1607, allocations: 79.64 kB / 0.9432 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005501/0.1613, allocations: 59.94 kB / 0.9433 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.1616, allocations: 176.8 kB / 0.9434 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 2.435e-06/0.1616, allocations: 0 / 0.9434 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.0009092/0.1625, allocations: 342.2 kB / 0.9438 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1625, allocations: 59.41 kB / 0.9438 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.163, allocations: 414.6 kB / 0.9442 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.163, allocations: 33.7 kB / 0.9442 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.1632, allocations: 327.2 kB / 0.9446 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1633, allocations: 134.9 kB / 0.9447 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1635, allocations: 95.8 kB / 0.9448 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1637, allocations: 0.5274 MB / 0.9453 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1639, allocations: 116.4 kB / 0.9454 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1643, allocations: 403 kB / 0.9458 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.1647, allocations: 323.1 kB / 0.9461 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1647, allocations: 0 / 0.9461 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007559/0.1655, allocations: 479.7 kB / 0.9465 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.1655, allocations: 63.41 kB / 0.9466 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1655, allocations: 4 kB / 0.9466 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.1656, allocations: 4 kB / 0.9466 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.166, allocations: 95.83 kB / 0.9467 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.166, allocations: 7.984 kB / 0.9467 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.1663, allocations: 47.77 kB / 0.9468 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.1664, allocations: 36.17 kB / 0.9468 GB, free: 7.945 MB / 0.9011 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.000179/0.1666, allocations: 184.5 kB / 0.947 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.1666, allocations: 63.61 kB / 0.947 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.1673, allocations: 310.5 kB / 0.9473 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1673, allocations: 4 kB / 0.9473 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1673, allocations: 3.984 kB / 0.9473 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1673, allocations: 0 / 0.9473 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.1688, allocations: 0.9238 MB / 0.9482 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1688, allocations: 4 kB / 0.9482 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.1691, allocations: 71.97 kB / 0.9483 GB, free: 6.277 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.1691, allocations: 4.438 kB / 0.9483 GB, free: 6.273 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.1691, allocations: 23.92 kB / 0.9483 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.1691, allocations: 7.938 kB / 0.9483 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.1691, allocations: 4 kB / 0.9483 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.17, allocations: 0.5985 MB / 0.9489 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.1702, allocations: 79.61 kB / 0.949 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.1702, allocations: 12 kB / 0.949 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.1705, allocations: 31.91 kB / 0.9491 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1706, allocations: 47.89 kB / 0.9491 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.1707, allocations: 20 kB / 0.9491 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002596/0.1709, allocations: 271.1 kB / 0.9494 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1709, allocations: 0 / 0.9494 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006544/0.1716, allocations: 167.6 kB / 0.9495 GB, free: 4.945 MB / 0.9011 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.0003138/0.1719, allocations: 151 kB / 0.9497 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009214/0.1728, allocations: 398.4 kB / 0.9501 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1728, allocations: 0 / 0.9501 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.1731, allocations: 119.2 kB / 0.9502 GB, free: 4.242 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.1741, allocations: 212.4 kB / 0.9504 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1761, allocations: 0.9706 MB / 0.9513 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.1762, allocations: 133.8 kB / 0.9514 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003695/0.1766, allocations: 96.12 kB / 0.9515 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1767, allocations: 48.42 kB / 0.9516 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of SimCode: time 1.103e-06/0.1767, allocations: 0 / 0.9516 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of Templates: time 0.01328/0.19, allocations: 8.821 MB / 0.9602 GB, free: 10.1 MB / 0.9167 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.832537401933223]