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.0007675/0.0007675, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009948/0.001762, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006963/0.0006963, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009165/0.001613, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9495/0.9495, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09379/1.043, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.809/1.809, allocations: 378.2 MB / 0.6076 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4883/2.297, allocations: 123.3 MB / 0.728 GB, free: 5.793 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.773e-06/1.773e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.835e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1538/0.1538, allocations: 147.8 MB / 0.8737 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1563, allocations: 1.805 MB / 0.8755 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.1565, allocations: 31.75 kB / 0.8755 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1568, allocations: 134.8 kB / 0.8756 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007964/0.1576, allocations: 0.493 MB / 0.8761 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1586, allocations: 0.6682 MB / 0.8768 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008967/0.1595, allocations: 1.246 MB / 0.878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.1599, allocations: 354.7 kB / 0.8783 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.1606, allocations: 0.6655 MB / 0.879 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.1611, allocations: 335 kB / 0.8793 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.1612, allocations: 44 kB / 0.8793 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.1616, allocations: 327.2 kB / 0.8796 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1617, allocations: 167.5 kB / 0.8798 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1619, allocations: 175.6 kB / 0.88 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.1624, allocations: 0.5684 MB / 0.8805 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.1625, allocations: 4 kB / 0.8805 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1625, allocations: 0 / 0.8805 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.1625, allocations: 0 / 0.8805 GB, free: 9.34 MB / 0.8542 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.001016/0.1635, allocations: 0.9791 MB / 0.8815 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1635, allocations: 8.031 kB / 0.8815 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.1645, allocations: 460.8 kB / 0.8819 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1649, allocations: 379.8 kB / 0.8823 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.165, allocations: 37 kB / 0.8823 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.165, allocations: 40 kB / 0.8824 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.1654, allocations: 394.7 kB / 0.8827 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1655, allocations: 4 kB / 0.8827 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1655, allocations: 20 kB / 0.8828 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1655, allocations: 8 kB / 0.8828 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1657, allocations: 129.6 kB / 0.8829 GB, free: 6.789 MB / 0.8542 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.001234/0.1669, allocations: 1.463 MB / 0.8843 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1672, allocations: 189.7 kB / 0.8845 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.1672, allocations: 64.27 kB / 0.8846 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.1674, allocations: 51.94 kB / 0.8846 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1676, allocations: 161.7 kB / 0.8848 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.1676, allocations: 0 / 0.8848 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0004393/0.1681, allocations: 234.8 kB / 0.885 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1681, allocations: 59.41 kB / 0.885 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1684, allocations: 363.1 kB / 0.8854 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.1684, allocations: 33.7 kB / 0.8854 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1685, allocations: 229.4 kB / 0.8856 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.1686, allocations: 134.9 kB / 0.8858 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.1687, allocations: 86.09 kB / 0.8859 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003277/0.169, allocations: 362.7 kB / 0.8862 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1691, allocations: 99.22 kB / 0.8863 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.1693, allocations: 336 kB / 0.8866 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1695, allocations: 289 kB / 0.8869 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1695, allocations: 0 / 0.8869 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003167/0.1699, allocations: 366.6 kB / 0.8872 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.1699, allocations: 67.39 kB / 0.8873 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1699, allocations: 4 kB / 0.8873 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1699, allocations: 4 kB / 0.8873 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1702, allocations: 103.9 kB / 0.8874 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1702, allocations: 8.359 kB / 0.8874 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1704, allocations: 71.53 kB / 0.8875 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1704, allocations: 23.92 kB / 0.8875 GB, free: 1.723 MB / 0.8542 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.0001208/0.1705, allocations: 136.6 kB / 0.8876 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.1706, allocations: 39.95 kB / 0.8877 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.1709, allocations: 227.6 kB / 0.8879 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1709, allocations: 4 kB / 0.8879 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1709, allocations: 8.062 kB / 0.8879 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1709, allocations: 11.92 kB / 0.8879 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.1717, allocations: 0.7155 MB / 0.8886 GB, free: 500 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.1717, allocations: 4.438 kB / 0.8886 GB, free: 496 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.1719, allocations: 79.89 kB / 0.8887 GB, free: 416 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.172, allocations: 59.62 kB / 0.8888 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.172, allocations: 8 kB / 0.8888 GB, free: 348 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1721, allocations: 8 kB / 0.8888 GB, free: 340 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1721, allocations: 8 kB / 0.8888 GB, free: 332 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1721, allocations: 7.938 kB / 0.8888 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.1725, allocations: 0.5053 MB / 0.8893 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.1726, allocations: 16.03 kB / 0.8893 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1727, allocations: 27.97 kB / 0.8893 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.1728, allocations: 47.81 kB / 0.8894 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1728, allocations: 15.98 kB / 0.8894 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.903e-05/0.1729, allocations: 140.7 kB / 0.8895 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1729, allocations: 0 / 0.8895 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003597/0.1733, allocations: 163.7 kB / 0.8897 GB, free: 15.33 MB / 0.8698 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.0002264/0.1735, allocations: 124.2 kB / 0.8898 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.1738, allocations: 363.5 kB / 0.8901 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.1739, allocations: 8 kB / 0.8901 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.174, allocations: 102 kB / 0.8902 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.1746, allocations: 261.1 kB / 0.8905 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.1782, allocations: 0.9206 MB / 0.8914 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.989e-05/0.1783, allocations: 133.8 kB / 0.8915 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.1785, allocations: 68.17 kB / 0.8916 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.1789, allocations: 205.1 kB / 0.8918 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of SimCode: time 1.362e-06/0.1789, allocations: 0 / 0.8918 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of Templates: time 0.01235/0.1912, allocations: 9.785 MB / 0.9013 GB, free: 3.492 MB / 0.8698 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.ref.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.210604137741029]