Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007803/0.0007803, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001801, 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.0006887/0.0006887, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009002/0.001589, 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.9546/0.9546, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0857/1.04, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.769/1.769, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4666/2.235, allocations: 123.3 MB / 0.728 GB, free: 5.785 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.431e-05, allocations: 3.297 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1663/0.1663, allocations: 146.5 MB / 0.8725 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1683, allocations: 1.021 MB / 0.8735 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1685, allocations: 19.88 kB / 0.8735 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1688, allocations: 103.1 kB / 0.8736 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008398/0.1696, allocations: 401.8 kB / 0.874 GB, free: 68 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.1704, allocations: 339.1 kB / 0.8743 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007832/0.1712, allocations: 0.7016 MB / 0.875 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.1716, allocations: 210.1 kB / 0.8752 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.1722, allocations: 390.9 kB / 0.8755 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1725, allocations: 223.4 kB / 0.8758 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.1725, allocations: 24 kB / 0.8758 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.1729, allocations: 191.6 kB / 0.876 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.173, allocations: 95.7 kB / 0.8761 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.1731, allocations: 95.75 kB / 0.8761 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.1735, allocations: 314.9 kB / 0.8764 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.1735, allocations: 4 kB / 0.8764 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1735, allocations: 0 / 0.8764 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.1735, allocations: 0 / 0.8764 GB, free: 13.52 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007807/0.1743, allocations: 0.593 MB / 0.877 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1743, allocations: 8.031 kB / 0.877 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.1747, allocations: 157.8 kB / 0.8772 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.175, allocations: 248.7 kB / 0.8774 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.175, allocations: 21.03 kB / 0.8774 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.175, allocations: 28.12 kB / 0.8775 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.1753, allocations: 248.5 kB / 0.8777 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1753, allocations: 4 kB / 0.8777 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1753, allocations: 8 kB / 0.8777 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1753, allocations: 12 kB / 0.8777 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.1754, allocations: 79.83 kB / 0.8778 GB, free: 12.03 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.0008017/0.1762, allocations: 0.9802 MB / 0.8788 GB, free: 11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1763, allocations: 113.2 kB / 0.8789 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.1764, allocations: 35.69 kB / 0.8789 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.1766, allocations: 47.94 kB / 0.8789 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1766, allocations: 30.56 kB / 0.879 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.1766, allocations: 0 / 0.879 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002523/0.1769, allocations: 113.9 kB / 0.8791 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1769, allocations: 59.34 kB / 0.8791 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.177, allocations: 221 kB / 0.8794 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.177, allocations: 29.7 kB / 0.8794 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1772, allocations: 172.6 kB / 0.8795 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1772, allocations: 43.58 kB / 0.8796 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1773, allocations: 45.64 kB / 0.8796 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1774, allocations: 334.7 kB / 0.88 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.1774, allocations: 14.83 kB / 0.88 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.1775, allocations: 138.2 kB / 0.8801 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.1775, allocations: 98.62 kB / 0.8802 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1776, allocations: 0 / 0.8802 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001283/0.1777, allocations: 108.2 kB / 0.8803 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1777, allocations: 4 kB / 0.8803 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1777, allocations: 4 kB / 0.8803 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.1777, allocations: 0 / 0.8803 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1778, allocations: 40.14 kB / 0.8803 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1778, allocations: 4 kB / 0.8803 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.1779, allocations: 19.88 kB / 0.8804 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1779, allocations: 11.94 kB / 0.8804 GB, free: 9.207 MB / 0.8542 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 8.663e-05/0.178, allocations: 120.6 kB / 0.8805 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.178, allocations: 11.98 kB / 0.8805 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1782, allocations: 99.42 kB / 0.8806 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1782, allocations: 0 / 0.8806 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1782, allocations: 3.984 kB / 0.8806 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1782, allocations: 0 / 0.8806 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.1787, allocations: 0.4921 MB / 0.8811 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1787, allocations: 0 / 0.8811 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.1788, allocations: 27.98 kB / 0.8811 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.1788, allocations: 19.86 kB / 0.8811 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1788, allocations: 7.938 kB / 0.8811 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1788, allocations: 8.062 kB / 0.8811 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1788, allocations: 16.14 kB / 0.8812 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1788, allocations: 4 kB / 0.8812 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.179, allocations: 291.1 kB / 0.8814 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.179, allocations: 11.94 kB / 0.8814 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.61e-05/0.179, allocations: 4 kB / 0.8815 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1791, allocations: 15.97 kB / 0.8815 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.1791, allocations: 4 kB / 0.8815 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.1791, allocations: 74.78 kB / 0.8815 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1791, allocations: 0 / 0.8815 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002487/0.1794, allocations: 83.72 kB / 0.8816 GB, free: 7.809 MB / 0.8542 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.0001921/0.1796, allocations: 128.2 kB / 0.8817 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1797, allocations: 71.66 kB / 0.8818 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.1797, allocations: 4 kB / 0.8818 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.1798, allocations: 33.53 kB / 0.8818 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1801, allocations: 106.5 kB / 0.882 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1821, allocations: 0.5329 MB / 0.8825 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.1821, allocations: 96.16 kB / 0.8826 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.1822, allocations: 37.97 kB / 0.8826 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.1824, allocations: 111.3 kB / 0.8827 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.1824, allocations: 0 / 0.8827 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of Templates: time 0.00628/0.1887, allocations: 4.146 MB / 0.8868 GB, free: 2.562 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 4.903091319836676]