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.001069/0.001069, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.00252, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009817/0.0009817, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002323, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.016/1.016, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08888/1.105, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.789/1.789, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5044/2.293, allocations: 123.3 MB / 0.7283 GB, free: 5.715 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.633e-06/1.633e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.559e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1417/0.1418, allocations: 146 MB / 0.8722 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1439, allocations: 2.15 MB / 0.8743 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.144, allocations: 11.88 kB / 0.8743 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1442, allocations: 75.36 kB / 0.8744 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008339/0.1451, allocations: 0.5479 MB / 0.875 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.1458, allocations: 424.8 kB / 0.8754 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.1462, allocations: 0.565 MB / 0.8759 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1464, allocations: 167.5 kB / 0.8761 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.1468, allocations: 323.1 kB / 0.8764 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.1472, allocations: 267.1 kB / 0.8766 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1472, allocations: 16 kB / 0.8767 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.1478, allocations: 482.6 kB / 0.8771 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.1478, allocations: 79.77 kB / 0.8772 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1479, allocations: 79.81 kB / 0.8773 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1484, allocations: 402.8 kB / 0.8776 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.1484, allocations: 4 kB / 0.8777 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1484, allocations: 0 / 0.8777 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.1484, allocations: 0 / 0.8777 GB, free: 12.51 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.0005475/0.1489, allocations: 0.5379 MB / 0.8782 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.149, allocations: 15.97 kB / 0.8782 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.1494, allocations: 177.8 kB / 0.8784 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1496, allocations: 234.2 kB / 0.8786 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1496, allocations: 12.38 kB / 0.8786 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1496, allocations: 24.33 kB / 0.8786 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1499, allocations: 223.6 kB / 0.8788 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1499, allocations: 0 / 0.8788 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1499, allocations: 8 kB / 0.8788 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1499, allocations: 8 kB / 0.8788 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.15, allocations: 77.98 kB / 0.8789 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.1507, allocations: 0.9746 MB / 0.8799 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1508, allocations: 340.5 kB / 0.8802 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.1509, allocations: 71.53 kB / 0.8803 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.1511, allocations: 59.94 kB / 0.8803 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1511, allocations: 38.69 kB / 0.8804 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.1511, allocations: 0 / 0.8804 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002999/0.1514, allocations: 109.5 kB / 0.8805 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1515, allocations: 166.2 kB / 0.8806 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1516, allocations: 198.4 kB / 0.8808 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1516, allocations: 29.7 kB / 0.8808 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.1517, allocations: 148.3 kB / 0.881 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.1517, allocations: 47.58 kB / 0.881 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.1517, allocations: 41.69 kB / 0.8811 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.1518, allocations: 326.8 kB / 0.8814 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.1518, allocations: 23.31 kB / 0.8814 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.1519, allocations: 190.7 kB / 0.8816 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.152, allocations: 121.7 kB / 0.8817 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.152, allocations: 4 kB / 0.8817 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001541/0.1522, allocations: 132.6 kB / 0.8818 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1522, allocations: 8 kB / 0.8818 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1522, allocations: 3.938 kB / 0.8818 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1522, allocations: 4 kB / 0.8818 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1523, allocations: 39.98 kB / 0.8819 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1523, allocations: 7.938 kB / 0.8819 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.1524, allocations: 23.81 kB / 0.8819 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1524, allocations: 8.25 kB / 0.8819 GB, free: 7.719 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.037e-05/0.1525, allocations: 124.7 kB / 0.882 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.1525, allocations: 19.92 kB / 0.8821 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.1527, allocations: 128.6 kB / 0.8822 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1527, allocations: 0 / 0.8822 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1527, allocations: 4 kB / 0.8822 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1527, allocations: 3.938 kB / 0.8822 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.1532, allocations: 0.6863 MB / 0.8829 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1532, allocations: 0 / 0.8829 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.1532, allocations: 31.92 kB / 0.8829 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.1533, allocations: 27.78 kB / 0.8829 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1533, allocations: 8.188 kB / 0.8829 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1533, allocations: 4 kB / 0.8829 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1533, allocations: 0 / 0.8829 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1533, allocations: 4 kB / 0.8829 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1535, allocations: 278.6 kB / 0.8832 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1535, allocations: 19.92 kB / 0.8832 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.1536, allocations: 8 kB / 0.8832 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1536, allocations: 7.984 kB / 0.8832 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1536, allocations: 4 kB / 0.8832 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.1536, allocations: 65.66 kB / 0.8833 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1536, allocations: 8.031 kB / 0.8833 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005041/0.1541, allocations: 83.83 kB / 0.8834 GB, free: 6.102 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.0002669/0.1544, allocations: 152.1 kB / 0.8835 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.1545, allocations: 68.7 kB / 0.8836 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1545, allocations: 4 kB / 0.8836 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.1546, allocations: 40.72 kB / 0.8836 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.155, allocations: 0.5223 MB / 0.8841 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1565, allocations: 457 kB / 0.8846 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.1566, allocations: 95.97 kB / 0.8847 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.448e-05/0.1566, allocations: 30.14 kB / 0.8847 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1568, allocations: 105.3 kB / 0.8848 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.1568, allocations: 4 kB / 0.8848 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.006054/0.1628, allocations: 4.436 MB / 0.8891 GB, free: 116 kB / 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188377269543707]