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.0007918/0.0007918, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001862, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0007017/0.0007017, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009216/0.001623, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9655/0.9655, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09133/1.057, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.333/2.333, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2463/2.579, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.483e-06/1.483e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.276e-05, allocations: 2.312 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.134/0.134, allocations: 147.8 MB / 0.9633 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1362, allocations: 1.781 MB / 0.965 GB, free: 12.3 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.1364, allocations: 27.75 kB / 0.965 GB, free: 12.28 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1367, allocations: 130.9 kB / 0.9652 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000868/0.1376, allocations: 0.4969 MB / 0.9656 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.1384, allocations: 0.653 MB / 0.9663 GB, free: 11 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008265/0.1392, allocations: 1.211 MB / 0.9675 GB, free: 9.781 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.1396, allocations: 357.9 kB / 0.9678 GB, free: 9.422 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.1402, allocations: 0.6382 MB / 0.9684 GB, free: 8.777 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.1405, allocations: 331 kB / 0.9687 GB, free: 8.453 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.1406, allocations: 48 kB / 0.9688 GB, free: 8.406 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.141, allocations: 331.1 kB / 0.9691 GB, free: 8.082 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1411, allocations: 159.5 kB / 0.9693 GB, free: 7.926 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1413, allocations: 175.7 kB / 0.9694 GB, free: 7.754 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000613/0.1419, allocations: 0.5645 MB / 0.97 GB, free: 7.188 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.1419, allocations: 0 / 0.97 GB, free: 7.188 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1419, allocations: 0 / 0.97 GB, free: 7.188 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.1419, allocations: 4 kB / 0.97 GB, free: 7.184 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.001117/0.143, allocations: 0.9752 MB / 0.9709 GB, free: 6.172 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1431, allocations: 12.03 kB / 0.9709 GB, free: 6.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.1443, allocations: 456.9 kB / 0.9714 GB, free: 5.695 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.1447, allocations: 379.8 kB / 0.9717 GB, free: 5.293 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1448, allocations: 29 kB / 0.9718 GB, free: 5.266 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.1448, allocations: 44 kB / 0.9718 GB, free: 5.223 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.1452, allocations: 386.8 kB / 0.9722 GB, free: 4.809 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1452, allocations: 0 / 0.9722 GB, free: 4.809 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.1453, allocations: 16 kB / 0.9722 GB, free: 4.793 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1453, allocations: 15.98 kB / 0.9722 GB, free: 4.777 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1454, allocations: 125.7 kB / 0.9723 GB, free: 4.652 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.001361/0.1468, allocations: 1.471 MB / 0.9738 GB, free: 3.129 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.1471, allocations: 186.8 kB / 0.9739 GB, free: 2.934 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.1472, allocations: 67.64 kB / 0.974 GB, free: 2.863 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.1473, allocations: 59.94 kB / 0.9741 GB, free: 2.805 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1476, allocations: 157.7 kB / 0.9742 GB, free: 2.637 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.664e-06/0.1476, allocations: 0 / 0.9742 GB, free: 2.637 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0004196/0.148, allocations: 232.1 kB / 0.9744 GB, free: 2.406 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.148, allocations: 63.34 kB / 0.9745 GB, free: 2.332 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1482, allocations: 351.1 kB / 0.9748 GB, free: 1.977 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1482, allocations: 29.7 kB / 0.9749 GB, free: 1.941 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.1483, allocations: 237.4 kB / 0.9751 GB, free: 1.703 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.1484, allocations: 138.8 kB / 0.9752 GB, free: 1.566 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.1485, allocations: 82.16 kB / 0.9753 GB, free: 1.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.1486, allocations: 358.7 kB / 0.9756 GB, free: 1.121 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.1487, allocations: 99.22 kB / 0.9757 GB, free: 1.008 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1488, allocations: 344 kB / 0.9761 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.149, allocations: 284.6 kB / 0.9763 GB, free: 268 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1491, allocations: 4.062 kB / 0.9763 GB, free: 264 kB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003129/0.1494, allocations: 362.9 kB / 0.9767 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.1494, allocations: 65.75 kB / 0.9767 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1494, allocations: 7.938 kB / 0.9768 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1494, allocations: 11.98 kB / 0.9768 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.1497, allocations: 99.89 kB / 0.9769 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1497, allocations: 7.938 kB / 0.9769 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.1499, allocations: 63.92 kB / 0.9769 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1499, allocations: 20 kB / 0.9769 GB, free: 15.59 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.0001115/0.15, allocations: 140.6 kB / 0.9771 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.15, allocations: 35.97 kB / 0.9771 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1503, allocations: 241.7 kB / 0.9773 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1503, allocations: 0 / 0.9773 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1503, allocations: 4 kB / 0.9774 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1503, allocations: 3.938 kB / 0.9774 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.151, allocations: 0.711 MB / 0.978 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.151, allocations: 4 kB / 0.9781 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1512, allocations: 75.89 kB / 0.9781 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1513, allocations: 60.06 kB / 0.9782 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1513, allocations: 12 kB / 0.9782 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1513, allocations: 8 kB / 0.9782 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1513, allocations: 11.92 kB / 0.9782 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1513, allocations: 8 kB / 0.9782 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.1517, allocations: 0.5053 MB / 0.9787 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.1518, allocations: 12 kB / 0.9787 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1519, allocations: 27.97 kB / 0.9788 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.152, allocations: 55.83 kB / 0.9788 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.152, allocations: 12 kB / 0.9788 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.646e-05/0.1521, allocations: 140.7 kB / 0.979 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1521, allocations: 0 / 0.979 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003152/0.1524, allocations: 163.7 kB / 0.9791 GB, free: 13.2 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.0001998/0.1526, allocations: 116.3 kB / 0.9792 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.1531, allocations: 371.6 kB / 0.9796 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.1531, allocations: 8 kB / 0.9796 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.1533, allocations: 127.4 kB / 0.9797 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.1541, allocations: 1.206 MB / 0.9809 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.1577, allocations: 0.9093 MB / 0.9818 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.725e-05/0.1578, allocations: 133.6 kB / 0.9819 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.158, allocations: 76.16 kB / 0.982 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.1583, allocations: 193.2 kB / 0.9822 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of SimCode: time 9.42e-07/0.1583, allocations: 0 / 0.9822 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of Templates: time 0.01309/0.1714, allocations: 9.691 MB / 0.9916 GB, free: 248 kB / 0.9636 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.453575355000794]