Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00144/0.00144, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001841/0.001841, allocations: 169 kB / 24.05 MB, free: 460 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.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.096/2.096, allocations: 429.5 MB / 0.6743 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.811e-05, allocations: 5.125 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1271/0.1272, allocations: 145.2 MB / 1.021 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002889/0.13, allocations: 1.736 MB / 1.023 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.1305, allocations: 23.81 kB / 1.023 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.1309, allocations: 134.8 kB / 1.023 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.1319, allocations: 0.5008 MB / 1.024 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1333, allocations: 0.6662 MB / 1.024 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1346, allocations: 1.218 MB / 1.025 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.135, allocations: 353.5 kB / 1.026 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000686/0.1357, allocations: 0.6078 MB / 1.026 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.1361, allocations: 350.9 kB / 1.027 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.1361, allocations: 48 kB / 1.027 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.1366, allocations: 331.1 kB / 1.027 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1367, allocations: 191.4 kB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1369, allocations: 219.5 kB / 1.027 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.1376, allocations: 0.6345 MB / 1.028 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1376, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1376, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1376, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.9948 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.0009722/0.1385, allocations: 0.9672 MB / 1.029 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1386, allocations: 12.02 kB / 1.029 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.1396, allocations: 375.5 kB / 1.029 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.1401, allocations: 405.3 kB / 1.03 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1401, allocations: 36.98 kB / 1.03 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.1401, allocations: 44 kB / 1.03 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.1406, allocations: 401.4 kB / 1.03 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1406, allocations: 3.938 kB / 1.03 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1406, allocations: 19.94 kB / 1.03 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1406, allocations: 12 kB / 1.03 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1408, allocations: 138.8 kB / 1.03 GB, free: 10.77 MB / 0.9948 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.001426/0.1422, allocations: 2.035 MB / 1.032 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1425, allocations: 159 kB / 1.032 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.1426, allocations: 67.66 kB / 1.033 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.1428, allocations: 51.94 kB / 1.033 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.143, allocations: 170.1 kB / 1.033 GB, free: 8.191 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.143, allocations: 0 / 1.033 GB, free: 8.191 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.0005041/0.1435, allocations: 301.4 kB / 1.033 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1435, allocations: 55.41 kB / 1.033 GB, free: 7.824 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1437, allocations: 410.3 kB / 1.033 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1438, allocations: 33.7 kB / 1.034 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1439, allocations: 323.1 kB / 1.034 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.144, allocations: 142.8 kB / 1.034 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1441, allocations: 99.77 kB / 1.034 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1443, allocations: 0.5312 MB / 1.035 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1444, allocations: 100.4 kB / 1.035 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1446, allocations: 384.7 kB / 1.035 GB, free: 5.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1448, allocations: 303.8 kB / 1.035 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1448, allocations: 0 / 1.035 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004138/0.1452, allocations: 435.9 kB / 1.036 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.1453, allocations: 67.47 kB / 1.036 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1453, allocations: 4 kB / 1.036 GB, free: 4.777 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1453, allocations: 7.984 kB / 1.036 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.1455, allocations: 87.89 kB / 1.036 GB, free: 4.684 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.1455, allocations: 15.88 kB / 1.036 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1457, allocations: 63.72 kB / 1.036 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.1458, allocations: 19.98 kB / 1.036 GB, free: 4.586 MB / 0.9948 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.0001389/0.1459, allocations: 190.4 kB / 1.036 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1459, allocations: 55.72 kB / 1.036 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.1463, allocations: 281.4 kB / 1.037 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1463, allocations: 4 kB / 1.037 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1463, allocations: 0 / 1.037 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1463, allocations: 7.938 kB / 1.037 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008136/0.1471, allocations: 0.833 MB / 1.037 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1471, allocations: 4 kB / 1.037 GB, free: 3.105 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1473, allocations: 63.91 kB / 1.037 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1473, allocations: 8 kB / 1.037 GB, free: 3.035 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1473, allocations: 11.98 kB / 1.037 GB, free: 3.023 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1473, allocations: 8.438 kB / 1.037 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1473, allocations: 7.938 kB / 1.037 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.1478, allocations: 0.5767 MB / 1.038 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1479, allocations: 79.55 kB / 1.038 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.148, allocations: 12 kB / 1.038 GB, free: 2.262 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1481, allocations: 27.97 kB / 1.038 GB, free: 2.234 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.1482, allocations: 51.81 kB / 1.038 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1482, allocations: 15.98 kB / 1.038 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001419/0.1484, allocations: 259 kB / 1.038 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1484, allocations: 0 / 1.038 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004042/0.1488, allocations: 163.7 kB / 1.039 GB, free: 1.758 MB / 0.9948 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.0002114/0.149, allocations: 135.1 kB / 1.039 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1494, allocations: 379.3 kB / 1.039 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1494, allocations: 0 / 1.039 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1495, allocations: 111.4 kB / 1.039 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.1501, allocations: 207.9 kB / 1.039 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1514, allocations: 0.9704 MB / 1.04 GB, free: 15.83 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.1514, allocations: 137.7 kB / 1.04 GB, free: 15.67 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.1517, allocations: 67.39 kB / 1.041 GB, free: 15.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.152, allocations: 230.1 kB / 1.041 GB, free: 15.38 MB / 1.01 GB Notification: Performance of SimCode: time 8.31e-07/0.152, allocations: 0 / 1.041 GB, free: 15.38 MB / 1.01 GB Notification: Performance of Templates: time 0.01076/0.1628, allocations: 9.495 MB / 1.05 GB, free: 6.109 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.231277242768556]