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.0009414/0.0009414, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001035/0.001035, allocations: 185 kB / 24.09 MB, free: 416 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.938/0.938, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.867/1.867, allocations: 377.9 MB / 0.6239 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.493e-06/1.493e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.996e-05, allocations: 7.406 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1255/0.1256, allocations: 145.2 MB / 0.9538 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1278, allocations: 1.766 MB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.1281, allocations: 27.75 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1284, allocations: 134.8 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1299, allocations: 0.5048 MB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1311, allocations: 0.6779 MB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.1322, allocations: 1.242 MB / 0.9581 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.1326, allocations: 385.9 kB / 0.9584 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.1333, allocations: 0.6234 MB / 0.9591 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1337, allocations: 354.9 kB / 0.9594 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.1337, allocations: 44 kB / 0.9594 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.1343, allocations: 331.2 kB / 0.9598 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1344, allocations: 195.4 kB / 0.9599 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1346, allocations: 211.5 kB / 0.9601 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.1352, allocations: 0.6462 MB / 0.9608 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1352, allocations: 4 kB / 0.9608 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1352, allocations: 0 / 0.9608 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.1352, allocations: 0 / 0.9608 GB, free: 8.613 MB / 0.9167 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.00101/0.1362, allocations: 0.9791 MB / 0.9617 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1363, allocations: 8.031 kB / 0.9617 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.1373, allocations: 383.5 kB / 0.9621 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.1378, allocations: 413.3 kB / 0.9625 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1378, allocations: 33 kB / 0.9625 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.1379, allocations: 43.95 kB / 0.9626 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1383, allocations: 405.4 kB / 0.963 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1383, allocations: 3.938 kB / 0.963 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.1383, allocations: 20 kB / 0.963 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1383, allocations: 12 kB / 0.963 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.1385, allocations: 142.7 kB / 0.9631 GB, free: 6.074 MB / 0.9167 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.00168/0.1402, allocations: 2.031 MB / 0.9651 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1405, allocations: 163 kB / 0.9653 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.1405, allocations: 59.66 kB / 0.9653 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.1407, allocations: 59.88 kB / 0.9654 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1409, allocations: 160.6 kB / 0.9655 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/0.1409, allocations: 4 kB / 0.9655 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.0005032/0.1415, allocations: 310.3 kB / 0.9658 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1415, allocations: 59.41 kB / 0.9659 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1417, allocations: 410.3 kB / 0.9663 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.1417, allocations: 37.69 kB / 0.9663 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1419, allocations: 323.1 kB / 0.9666 GB, free: 2.336 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.142, allocations: 134.9 kB / 0.9668 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1421, allocations: 99.8 kB / 0.9669 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1422, allocations: 0.5351 MB / 0.9674 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.1423, allocations: 104.4 kB / 0.9675 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1425, allocations: 384.8 kB / 0.9678 GB, free: 0.9648 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1428, allocations: 311.7 kB / 0.9681 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1428, allocations: 0 / 0.9681 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000387/0.1432, allocations: 431.6 kB / 0.9686 GB, free: 144 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.1432, allocations: 71.7 kB / 0.9686 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1432, allocations: 8 kB / 0.9686 GB, free: 52 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1432, allocations: 8 kB / 0.9686 GB, free: 44 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.1435, allocations: 87.89 kB / 0.9687 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1435, allocations: 15.92 kB / 0.9687 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1437, allocations: 59.64 kB / 0.9688 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.1438, allocations: 23.92 kB / 0.9688 GB, free: 15.86 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.0001618/0.1439, allocations: 188.5 kB / 0.969 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.144, allocations: 59.72 kB / 0.969 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.1444, allocations: 278.8 kB / 0.9693 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1444, allocations: 7.984 kB / 0.9693 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1444, allocations: 0 / 0.9693 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1444, allocations: 3.938 kB / 0.9693 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009561/0.1453, allocations: 0.8441 MB / 0.9702 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1454, allocations: 0 / 0.9702 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1455, allocations: 63.91 kB / 0.9702 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1455, allocations: 4 kB / 0.9702 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1455, allocations: 15.98 kB / 0.9702 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1456, allocations: 8 kB / 0.9702 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1456, allocations: 8.344 kB / 0.9702 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.146, allocations: 0.5666 MB / 0.9708 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.1461, allocations: 79.59 kB / 0.9709 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1462, allocations: 8 kB / 0.9709 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.1463, allocations: 31.97 kB / 0.9709 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1464, allocations: 51.8 kB / 0.971 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1464, allocations: 16 kB / 0.971 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001274/0.1465, allocations: 255 kB / 0.9712 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1465, allocations: 4.031 kB / 0.9712 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003603/0.1469, allocations: 159.7 kB / 0.9714 GB, free: 13.04 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.0002165/0.1471, allocations: 147.1 kB / 0.9715 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.1475, allocations: 378.9 kB / 0.9719 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1475, allocations: 8.062 kB / 0.9719 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1476, allocations: 110.2 kB / 0.972 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.1482, allocations: 220.8 kB / 0.9722 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1495, allocations: 0.9866 MB / 0.9732 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.947e-05/0.1495, allocations: 133.8 kB / 0.9733 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.1497, allocations: 76.16 kB / 0.9734 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.1501, allocations: 242 kB / 0.9736 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of SimCode: time 8.22e-07/0.1501, allocations: 0 / 0.9736 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.01148/0.1615, allocations: 9.615 MB / 0.983 GB, free: 1.234 MB / 0.9323 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.257509071845561]