Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001084/0.001084, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002574, 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.001114/0.001114, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002472, 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.9409/0.9409, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08339/1.024, 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.733/1.733, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4694/2.202, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.43e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1647/0.1647, allocations: 146 MB / 0.8719 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1669, allocations: 2.152 MB / 0.874 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.167, allocations: 11.88 kB / 0.874 GB, free: 40 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1672, allocations: 79.3 kB / 0.8741 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.168, allocations: 0.5401 MB / 0.8746 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.1686, allocations: 434.7 kB / 0.875 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.169, allocations: 0.565 MB / 0.8756 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1693, allocations: 163.5 kB / 0.8757 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1696, allocations: 327.1 kB / 0.8761 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.17, allocations: 267.1 kB / 0.8763 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.17, allocations: 16 kB / 0.8763 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.1705, allocations: 478.6 kB / 0.8768 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.1706, allocations: 91.73 kB / 0.8769 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.1706, allocations: 71.81 kB / 0.8769 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.1711, allocations: 394.8 kB / 0.8773 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.1711, allocations: 4 kB / 0.8773 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1711, allocations: 0 / 0.8773 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.1711, allocations: 0 / 0.8773 GB, free: 12.65 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005933/0.1717, allocations: 0.5457 MB / 0.8779 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1717, allocations: 8.031 kB / 0.8779 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/0.1721, allocations: 181.8 kB / 0.878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1724, allocations: 230.2 kB / 0.8783 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1724, allocations: 16.38 kB / 0.8783 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1724, allocations: 24.33 kB / 0.8783 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1727, allocations: 219.6 kB / 0.8785 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1727, allocations: 4 kB / 0.8785 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1727, allocations: 8 kB / 0.8785 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1727, allocations: 4 kB / 0.8785 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.127e-05/0.1728, allocations: 81.98 kB / 0.8786 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.1735, allocations: 0.9746 MB / 0.8796 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1737, allocations: 340.5 kB / 0.8799 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1738, allocations: 67.58 kB / 0.8799 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.174, allocations: 55.94 kB / 0.88 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.174, allocations: 42.69 kB / 0.88 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.174, allocations: 0 / 0.88 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002362/0.1742, allocations: 113.8 kB / 0.8801 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1743, allocations: 158.3 kB / 0.8803 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1744, allocations: 202.4 kB / 0.8805 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1744, allocations: 29.7 kB / 0.8805 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1745, allocations: 144.3 kB / 0.8807 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1745, allocations: 51.58 kB / 0.8807 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.1745, allocations: 37.7 kB / 0.8807 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.1746, allocations: 334.8 kB / 0.8811 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.1746, allocations: 14.83 kB / 0.8811 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.1747, allocations: 187.3 kB / 0.8812 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.1748, allocations: 125.6 kB / 0.8814 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1748, allocations: 0 / 0.8814 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001472/0.175, allocations: 128.9 kB / 0.8815 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.175, allocations: 11.28 kB / 0.8815 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.175, allocations: 0 / 0.8815 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.175, allocations: 4 kB / 0.8815 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1751, allocations: 43.92 kB / 0.8815 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1751, allocations: 11.92 kB / 0.8816 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1752, allocations: 15.89 kB / 0.8816 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1752, allocations: 8 kB / 0.8816 GB, free: 7.875 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.42e-05/0.1753, allocations: 124.6 kB / 0.8817 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.1754, allocations: 23.98 kB / 0.8817 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.1755, allocations: 116.8 kB / 0.8818 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1755, allocations: 0 / 0.8818 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1755, allocations: 4 kB / 0.8818 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1755, allocations: 7.938 kB / 0.8818 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.176, allocations: 0.6979 MB / 0.8825 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.176, allocations: 0 / 0.8825 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.1761, allocations: 23.98 kB / 0.8826 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.1761, allocations: 27.78 kB / 0.8826 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1761, allocations: 4.062 kB / 0.8826 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1761, allocations: 8 kB / 0.8826 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1761, allocations: 192 / 0.8826 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1761, allocations: 8 kB / 0.8826 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1763, allocations: 286.5 kB / 0.8829 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1763, allocations: 15.88 kB / 0.8829 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.1764, allocations: 4 kB / 0.8829 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.1764, allocations: 11.92 kB / 0.8829 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1764, allocations: 8 kB / 0.8829 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.1764, allocations: 61.66 kB / 0.883 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1764, allocations: 0 / 0.883 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000228/0.1767, allocations: 87.83 kB / 0.8831 GB, free: 6.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senStr.s) * 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 (11): * Single equations (assignments): 11 * 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.0002525/0.1769, allocations: 152.2 kB / 0.8832 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.177, allocations: 68.7 kB / 0.8833 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.177, allocations: 7.938 kB / 0.8833 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.1771, allocations: 28.78 kB / 0.8833 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1773, allocations: 104.1 kB / 0.8834 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1788, allocations: 453 kB / 0.8838 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.1789, allocations: 104 kB / 0.8839 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.295e-05/0.179, allocations: 33.78 kB / 0.884 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.1791, allocations: 97.31 kB / 0.8841 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.1791, allocations: 0 / 0.8841 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of Templates: time 0.005872/0.185, allocations: 4.423 MB / 0.8884 GB, free: 0.8086 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.9946990348398685]