Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0009917/0.0009917, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002099, allocations: 440 kB / 10.41 MB, free: 284 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.001121/0.001121, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002517, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.064/1.064, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.166, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.451/2.451, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2441/2.695, allocations: 146 MB / 0.8176 GB, free: 3.816 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.78e-05, allocations: 4.281 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1392/0.1393, allocations: 146.5 MB / 0.962 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1418, allocations: 1.003 MB / 0.963 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.1422, allocations: 15.88 kB / 0.963 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1426, allocations: 99.2 kB / 0.9631 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1438, allocations: 397.7 kB / 0.9635 GB, free: 13.85 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/0.1448, allocations: 339.2 kB / 0.9638 GB, free: 13.52 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.1457, allocations: 0.6743 MB / 0.9645 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.146, allocations: 210.2 kB / 0.9647 GB, free: 12.63 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.1467, allocations: 382.9 kB / 0.9651 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.147, allocations: 223.4 kB / 0.9653 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.147, allocations: 24 kB / 0.9653 GB, free: 12.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.1474, allocations: 191.5 kB / 0.9655 GB, free: 11.83 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1475, allocations: 99.69 kB / 0.9656 GB, free: 11.73 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/0.1476, allocations: 95.81 kB / 0.9657 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.1481, allocations: 302.9 kB / 0.966 GB, free: 11.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.12e-05/0.1481, allocations: 0 / 0.966 GB, free: 11.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1481, allocations: 0 / 0.966 GB, free: 11.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.1482, allocations: 4 kB / 0.966 GB, free: 11.34 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000699/0.1489, allocations: 0.5814 MB / 0.9665 GB, free: 10.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1489, allocations: 11.97 kB / 0.9665 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.1492, allocations: 165.8 kB / 0.9667 GB, free: 10.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1495, allocations: 236.7 kB / 0.9669 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1495, allocations: 25.03 kB / 0.9669 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1495, allocations: 28.12 kB / 0.967 GB, free: 10.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1498, allocations: 252.5 kB / 0.9672 GB, free: 9.953 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1498, allocations: 0 / 0.9672 GB, free: 9.953 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1498, allocations: 8 kB / 0.9672 GB, free: 9.945 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1498, allocations: 11.94 kB / 0.9672 GB, free: 9.934 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1499, allocations: 83.89 kB / 0.9673 GB, free: 9.848 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.001076/0.151, allocations: 0.9803 MB / 0.9683 GB, free: 8.824 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1511, allocations: 109.2 kB / 0.9684 GB, free: 8.707 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.1512, allocations: 35.67 kB / 0.9684 GB, free: 8.668 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.1514, allocations: 43.95 kB / 0.9684 GB, free: 8.625 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1514, allocations: 42.56 kB / 0.9685 GB, free: 8.574 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.1514, allocations: 0 / 0.9685 GB, free: 8.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002523/0.1516, allocations: 109.3 kB / 0.9686 GB, free: 8.465 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1517, allocations: 59.34 kB / 0.9686 GB, free: 8.395 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1518, allocations: 217 kB / 0.9689 GB, free: 8.168 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1518, allocations: 29.7 kB / 0.9689 GB, free: 8.133 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.1519, allocations: 180.6 kB / 0.9691 GB, free: 7.949 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1519, allocations: 43.58 kB / 0.9691 GB, free: 7.906 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.152, allocations: 33.7 kB / 0.9691 GB, free: 7.867 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.152, allocations: 346.7 kB / 0.9695 GB, free: 7.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.1521, allocations: 14.77 kB / 0.9695 GB, free: 7.504 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.1521, allocations: 140.1 kB / 0.9696 GB, free: 7.332 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.1522, allocations: 94.64 kB / 0.9697 GB, free: 7.219 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1522, allocations: 0 / 0.9697 GB, free: 7.219 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001176/0.1523, allocations: 108.3 kB / 0.9698 GB, free: 7.105 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1524, allocations: 8 kB / 0.9698 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1524, allocations: 0 / 0.9698 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1524, allocations: 7.984 kB / 0.9698 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1525, allocations: 31.98 kB / 0.9698 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.1525, allocations: 0 / 0.9698 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.1526, allocations: 15.95 kB / 0.9699 GB, free: 7.043 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1526, allocations: 7.938 kB / 0.9699 GB, free: 7.035 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 7.741e-05/0.1526, allocations: 128.7 kB / 0.97 GB, free: 6.898 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1527, allocations: 15.98 kB / 0.97 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.1528, allocations: 107.6 kB / 0.9701 GB, free: 6.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1528, allocations: 0 / 0.9701 GB, free: 6.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1528, allocations: 0 / 0.9701 GB, free: 6.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1528, allocations: 7.938 kB / 0.9701 GB, free: 6.762 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1532, allocations: 492.1 kB / 0.9706 GB, free: 6.227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1532, allocations: 4.031 kB / 0.9706 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.1533, allocations: 27.98 kB / 0.9706 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.1533, allocations: 31.78 kB / 0.9706 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1534, allocations: 11.97 kB / 0.9707 GB, free: 6.152 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1534, allocations: 4 kB / 0.9707 GB, free: 6.148 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1534, allocations: 8 kB / 0.9707 GB, free: 6.141 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1534, allocations: 4 kB / 0.9707 GB, free: 6.137 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1535, allocations: 284 kB / 0.9709 GB, free: 5.812 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1535, allocations: 11.94 kB / 0.971 GB, free: 5.801 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.1536, allocations: 11.98 kB / 0.971 GB, free: 5.789 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1536, allocations: 15.98 kB / 0.971 GB, free: 5.773 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1536, allocations: 4 kB / 0.971 GB, free: 5.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.1537, allocations: 66.78 kB / 0.9711 GB, free: 5.707 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1537, allocations: 0 / 0.9711 GB, free: 5.707 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002294/0.1539, allocations: 83.78 kB / 0.9711 GB, free: 5.625 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001943/0.1541, allocations: 116.3 kB / 0.9712 GB, free: 5.504 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1542, allocations: 80.69 kB / 0.9713 GB, free: 5.422 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1542, allocations: 0 / 0.9713 GB, free: 5.422 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.1543, allocations: 48.72 kB / 0.9714 GB, free: 5.371 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1548, allocations: 0.5727 MB / 0.9719 GB, free: 4.691 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.1567, allocations: 0.5266 MB / 0.9724 GB, free: 4.117 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.1567, allocations: 96.23 kB / 0.9725 GB, free: 4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.1568, allocations: 21.95 kB / 0.9726 GB, free: 3.977 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.157, allocations: 115.2 kB / 0.9727 GB, free: 3.863 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/0.157, allocations: 0 / 0.9727 GB, free: 3.863 MB / 0.948 GB Notification: Performance of Templates: time 0.006271/0.1632, allocations: 3.996 MB / 0.9766 GB, free: 15.96 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.477985640056431]