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.001034/0.001034, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001274/0.001274, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.535/2.535, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.232e-06/1.232e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.624e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1402/0.1402, allocations: 147.3 MB / 0.9825 GB, free: 10.19 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1428, allocations: 1.775 MB / 0.9843 GB, free: 8.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.1431, allocations: 27.75 kB / 0.9843 GB, free: 8.383 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1435, allocations: 138.8 kB / 0.9844 GB, free: 8.246 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1447, allocations: 0.5008 MB / 0.9849 GB, free: 7.742 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.1457, allocations: 0.6623 MB / 0.9856 GB, free: 7.078 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008994/0.1466, allocations: 1.199 MB / 0.9867 GB, free: 5.875 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.147, allocations: 346.2 kB / 0.9871 GB, free: 5.535 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.1476, allocations: 0.6001 MB / 0.9876 GB, free: 4.934 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.148, allocations: 327 kB / 0.988 GB, free: 4.613 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.148, allocations: 52 kB / 0.988 GB, free: 4.562 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1485, allocations: 331.1 kB / 0.9883 GB, free: 4.238 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1486, allocations: 195.4 kB / 0.9885 GB, free: 4.047 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1488, allocations: 219.5 kB / 0.9887 GB, free: 3.832 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.1493, allocations: 0.6346 MB / 0.9893 GB, free: 3.195 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1493, allocations: 0 / 0.9893 GB, free: 3.195 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1493, allocations: 0 / 0.9893 GB, free: 3.195 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.1494, allocations: 0 / 0.9893 GB, free: 3.195 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.0008773/0.1502, allocations: 0.8385 MB / 0.9902 GB, free: 2.312 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1503, allocations: 12.62 kB / 0.9902 GB, free: 2.301 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1514, allocations: 375.9 kB / 0.9905 GB, free: 1.934 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.1518, allocations: 375.8 kB / 0.9909 GB, free: 1.539 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1518, allocations: 29 kB / 0.9909 GB, free: 1.508 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.1519, allocations: 48 kB / 0.991 GB, free: 1.461 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.1523, allocations: 390.8 kB / 0.9913 GB, free: 1.043 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1523, allocations: 4 kB / 0.9913 GB, free: 1.039 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.1523, allocations: 16 kB / 0.9914 GB, free: 1.023 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1523, allocations: 12 kB / 0.9914 GB, free: 1.012 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1525, allocations: 133.6 kB / 0.9915 GB, free: 0.8789 MB / 0.948 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.001513/0.154, allocations: 1.455 MB / 0.9929 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1543, allocations: 197 kB / 0.9931 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.1544, allocations: 64.53 kB / 0.9932 GB, free: 15.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.1545, allocations: 55.95 kB / 0.9932 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.1547, allocations: 154.6 kB / 0.9934 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.714e-06/0.1547, allocations: 0 / 0.9934 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0004315/0.1552, allocations: 242.5 kB / 0.9936 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1552, allocations: 63.34 kB / 0.9937 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1554, allocations: 347.2 kB / 0.994 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1554, allocations: 37.7 kB / 0.994 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.1555, allocations: 225.4 kB / 0.9942 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.1556, allocations: 134.9 kB / 0.9944 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.1557, allocations: 86.16 kB / 0.9944 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.1558, allocations: 358.7 kB / 0.9948 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.1559, allocations: 99.22 kB / 0.9949 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1561, allocations: 340 kB / 0.9952 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1563, allocations: 276.5 kB / 0.9955 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1563, allocations: 4 kB / 0.9955 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003267/0.1566, allocations: 362.6 kB / 0.9958 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.1567, allocations: 59.41 kB / 0.9959 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1567, allocations: 4.359 kB / 0.9959 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1567, allocations: 12 kB / 0.9959 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.1569, allocations: 91.89 kB / 0.996 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1569, allocations: 11.94 kB / 0.996 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1571, allocations: 63.64 kB / 0.9961 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.1572, allocations: 16 kB / 0.9961 GB, free: 11.86 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.000115/0.1573, allocations: 140.5 kB / 0.9962 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.1573, allocations: 43.91 kB / 0.9962 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1576, allocations: 238.7 kB / 0.9965 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1576, allocations: 4.062 kB / 0.9965 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1576, allocations: 4 kB / 0.9965 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1576, allocations: 3.938 kB / 0.9965 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.1583, allocations: 0.7188 MB / 0.9972 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1583, allocations: 7.984 kB / 0.9972 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1585, allocations: 63.91 kB / 0.9973 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1585, allocations: 4 kB / 0.9973 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1586, allocations: 19.98 kB / 0.9973 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1586, allocations: 7.938 kB / 0.9973 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1586, allocations: 4 kB / 0.9973 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.159, allocations: 0.4992 MB / 0.9978 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.1591, allocations: 71.55 kB / 0.9978 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1591, allocations: 8 kB / 0.9979 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1593, allocations: 27.97 kB / 0.9979 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.1594, allocations: 55.8 kB / 0.9979 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1594, allocations: 8 kB / 0.9979 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.671e-05/0.1595, allocations: 140.7 kB / 0.9981 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1595, allocations: 0 / 0.9981 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003152/0.1598, allocations: 167.8 kB / 0.9982 GB, free: 9.461 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.0001909/0.16, allocations: 128.2 kB / 0.9984 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006022/0.1606, allocations: 352.2 kB / 0.9987 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.1606, allocations: 4.188 kB / 0.9987 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1607, allocations: 96.62 kB / 0.9988 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.1613, allocations: 203.4 kB / 0.999 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1625, allocations: 0.9096 MB / 0.9999 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.217e-05/0.1626, allocations: 137.6 kB / 1 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.1628, allocations: 75.39 kB / 1 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.1631, allocations: 185.2 kB / 1 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.1631, allocations: 0 / 1 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of Templates: time 0.01109/0.1742, allocations: 9.089 MB / 1.009 GB, free: 14.38 MB / 0.9792 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 -s gbode -gbm=radauIIA3 -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: 5.890656880103052]