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.001359/0.001359, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001121/0.001121, allocations: 177 kB / 23.36 MB, free: 1.129 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.33/2.33, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.353e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1248/0.1248, allocations: 147.3 MB / 0.9824 GB, free: 10.32 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1273, allocations: 1.769 MB / 0.9842 GB, free: 8.547 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.1276, allocations: 27.75 kB / 0.9842 GB, free: 8.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.128, allocations: 134.8 kB / 0.9843 GB, free: 8.387 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.1293, allocations: 0.5008 MB / 0.9848 GB, free: 7.883 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.1311, allocations: 0.674 MB / 0.9855 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.1325, allocations: 1.203 MB / 0.9867 GB, free: 6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.1331, allocations: 358.1 kB / 0.987 GB, free: 5.648 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.134, allocations: 0.6001 MB / 0.9876 GB, free: 5.047 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.1345, allocations: 338.9 kB / 0.9879 GB, free: 4.715 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.1346, allocations: 44 kB / 0.9879 GB, free: 4.672 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.1351, allocations: 331.1 kB / 0.9883 GB, free: 4.348 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1353, allocations: 195.4 kB / 0.9884 GB, free: 4.156 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.1356, allocations: 211.5 kB / 0.9886 GB, free: 3.949 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.1364, allocations: 0.6384 MB / 0.9893 GB, free: 3.309 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1364, allocations: 0 / 0.9893 GB, free: 3.309 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1364, allocations: 0 / 0.9893 GB, free: 3.309 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.1364, allocations: 0 / 0.9893 GB, free: 3.309 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.001206/0.1376, allocations: 0.8386 MB / 0.9901 GB, free: 2.426 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1376, allocations: 12.62 kB / 0.9901 GB, free: 2.414 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.1392, allocations: 379.9 kB / 0.9905 GB, free: 2.043 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.1398, allocations: 367.8 kB / 0.9908 GB, free: 1.656 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.1398, allocations: 33 kB / 0.9908 GB, free: 1.621 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.1399, allocations: 40 kB / 0.9909 GB, free: 1.582 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.1405, allocations: 394.8 kB / 0.9913 GB, free: 1.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1405, allocations: 0 / 0.9913 GB, free: 1.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.1405, allocations: 16 kB / 0.9913 GB, free: 1.145 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1405, allocations: 8 kB / 0.9913 GB, free: 1.137 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.1408, allocations: 141.6 kB / 0.9914 GB, free: 0.9961 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.001784/0.1426, allocations: 1.455 MB / 0.9928 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.1429, allocations: 194.8 kB / 0.993 GB, free: 15.28 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.143, allocations: 68.55 kB / 0.9931 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.1433, allocations: 51.95 kB / 0.9931 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.1435, allocations: 158.6 kB / 0.9933 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 2.164e-06/0.1436, allocations: 0 / 0.9933 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0005442/0.1441, allocations: 242.5 kB / 0.9935 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1441, allocations: 63.41 kB / 0.9936 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1443, allocations: 339.2 kB / 0.9939 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1444, allocations: 37.7 kB / 0.9939 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.1445, allocations: 233.4 kB / 0.9942 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.1445, allocations: 130.9 kB / 0.9943 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.355e-05/0.1446, allocations: 90.14 kB / 0.9944 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.1447, allocations: 358.7 kB / 0.9947 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.1448, allocations: 99.22 kB / 0.9948 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.145, allocations: 335.9 kB / 0.9951 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1453, allocations: 280.3 kB / 0.9954 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1453, allocations: 4 kB / 0.9954 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003114/0.1456, allocations: 354.8 kB / 0.9957 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1456, allocations: 63.41 kB / 0.9958 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1456, allocations: 7.984 kB / 0.9958 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1456, allocations: 8.375 kB / 0.9958 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1458, allocations: 95.83 kB / 0.9959 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1458, allocations: 4 kB / 0.9959 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.146, allocations: 59.64 kB / 0.996 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1461, allocations: 16 kB / 0.996 GB, free: 11.98 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.0001147/0.1462, allocations: 152.5 kB / 0.9961 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1462, allocations: 39.95 kB / 0.9962 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1465, allocations: 230.8 kB / 0.9964 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1465, allocations: 11.98 kB / 0.9964 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1465, allocations: 0 / 0.9964 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1465, allocations: 3.938 kB / 0.9964 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.1472, allocations: 0.7186 MB / 0.9971 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1472, allocations: 4 kB / 0.9971 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1474, allocations: 67.84 kB / 0.9972 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1474, allocations: 11.94 kB / 0.9972 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1474, allocations: 11.98 kB / 0.9972 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1474, allocations: 4 kB / 0.9972 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1474, allocations: 4 kB / 0.9972 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.1478, allocations: 0.5029 MB / 0.9977 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.1479, allocations: 67.56 kB / 0.9978 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.1479, allocations: 8 kB / 0.9978 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1481, allocations: 27.97 kB / 0.9978 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.1482, allocations: 47.88 kB / 0.9978 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1482, allocations: 15.98 kB / 0.9979 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.1483, allocations: 136.7 kB / 0.998 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1483, allocations: 0 / 0.998 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003003/0.1486, allocations: 159.7 kB / 0.9981 GB, free: 9.598 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.0001958/0.1488, allocations: 140.1 kB / 0.9983 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.149, allocations: 347.7 kB / 0.9986 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1491, allocations: 4.75 kB / 0.9986 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1492, allocations: 104.6 kB / 0.9987 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1497, allocations: 202.1 kB / 0.9989 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1508, allocations: 0.9058 MB / 0.9998 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.1509, allocations: 141.6 kB / 0.9999 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.1511, allocations: 67.41 kB / 1 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.1515, allocations: 189.2 kB / 1 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.1515, allocations: 0 / 1 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of Templates: time 0.0105/0.162, allocations: 9.096 MB / 1.009 GB, free: 14.5 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 -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.622505697887391]