Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002729/0.002729, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002081/0.002081, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.964/2.964, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.005e-05, allocations: 2.906 kB / 0.7864 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2401/0.2402, allocations: 159.3 MB / 0.942 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007821/0.248, allocations: 4.735 MB / 0.9466 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.2485, allocations: 11.88 kB / 0.9466 GB, free: 8.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.249, allocations: 127 kB / 0.9467 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.2508, allocations: 0.5869 MB / 0.9473 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.2534, allocations: 0.8211 MB / 0.9481 GB, free: 6.57 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0009598/0.2544, allocations: 0.5844 MB / 0.9487 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.2548, allocations: 173.5 kB / 0.9488 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.256, allocations: 0.5372 MB / 0.9493 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.2567, allocations: 283.1 kB / 0.9496 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.2567, allocations: 16 kB / 0.9496 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.2586, allocations: 0.8722 MB / 0.9505 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2587, allocations: 103.7 kB / 0.9506 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.2589, allocations: 79.83 kB / 0.9507 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.2603, allocations: 0.74 MB / 0.9514 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2603, allocations: 0 / 0.9514 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2603, allocations: 3.938 kB / 0.9514 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.2603, allocations: 0 / 0.9514 GB, free: 3.188 MB / 0.9011 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.001291/0.2616, allocations: 0.6272 MB / 0.952 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.2616, allocations: 8.031 kB / 0.952 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.2625, allocations: 115.5 kB / 0.9521 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.2631, allocations: 256.4 kB / 0.9524 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.2631, allocations: 15.94 kB / 0.9524 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.2632, allocations: 20 kB / 0.9524 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.2638, allocations: 263.3 kB / 0.9526 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2638, allocations: 3.938 kB / 0.9526 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.2638, allocations: 4 kB / 0.9527 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.2639, allocations: 8 kB / 0.9527 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.2643, allocations: 135.9 kB / 0.9528 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.2667, allocations: 1.44 MB / 0.9542 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.2677, allocations: 183.4 kB / 0.9544 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.2679, allocations: 94.42 kB / 0.9545 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/0.2686, allocations: 96 kB / 0.9546 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.2687, allocations: 41.39 kB / 0.9546 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.2687, allocations: 0 / 0.9546 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0007739/0.2695, allocations: 189.3 kB / 0.9548 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.2696, allocations: 158.2 kB / 0.9549 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.2699, allocations: 285.7 kB / 0.9552 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.27, allocations: 25.7 kB / 0.9552 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2702, allocations: 215.1 kB / 0.9554 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.2702, allocations: 47.55 kB / 0.9555 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2703, allocations: 55.3 kB / 0.9555 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002987/0.2706, allocations: 0.5123 MB / 0.956 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.2708, allocations: 39.98 kB / 0.9561 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.2711, allocations: 249.4 kB / 0.9563 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.2715, allocations: 177 kB / 0.9565 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2715, allocations: 7.938 kB / 0.9565 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004802/0.272, allocations: 177.3 kB / 0.9566 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.272, allocations: 8 kB / 0.9567 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.272, allocations: 0 / 0.9567 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.272, allocations: 4 kB / 0.9567 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.2722, allocations: 39.92 kB / 0.9567 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2722, allocations: 12.23 kB / 0.9567 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2724, allocations: 19.89 kB / 0.9567 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.2724, allocations: 8 kB / 0.9567 GB, free: 13.24 MB / 0.9167 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 0.0002374/0.2726, allocations: 192.4 kB / 0.9569 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.2728, allocations: 31.8 kB / 0.9569 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.2733, allocations: 182 kB / 0.9571 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2733, allocations: 4 kB / 0.9571 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2733, allocations: 3.938 kB / 0.9571 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2733, allocations: 0 / 0.9571 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.2746, allocations: 1 MB / 0.9581 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2746, allocations: 0 / 0.9581 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2747, allocations: 32.05 kB / 0.9581 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2747, allocations: 0 / 0.9581 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2747, allocations: 8 kB / 0.9581 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2747, allocations: 0 / 0.9581 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.2747, allocations: 4 kB / 0.9581 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.2753, allocations: 358 kB / 0.9585 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.2754, allocations: 31.88 kB / 0.9585 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.2754, allocations: 11.98 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2755, allocations: 4 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.2756, allocations: 15.92 kB / 0.9585 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2756, allocations: 4 kB / 0.9586 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002162/0.2758, allocations: 213.1 kB / 0.9588 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2758, allocations: 0 / 0.9588 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005572/0.2764, allocations: 103.8 kB / 0.9589 GB, free: 10.93 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0005137/0.2769, allocations: 210.9 kB / 0.9591 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.2772, allocations: 119.4 kB / 0.9592 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2772, allocations: 3.938 kB / 0.9592 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.2774, allocations: 48.42 kB / 0.9592 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.278, allocations: 86.97 kB / 0.9593 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.279, allocations: 485 kB / 0.9598 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2792, allocations: 150.1 kB / 0.9599 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.2793, allocations: 45.91 kB / 0.96 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.2794, allocations: 20.5 kB / 0.96 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.2794, allocations: 0 / 0.96 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of Templates: time 0.01134/0.2908, allocations: 4.477 MB / 0.9643 GB, free: 5.32 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.632268243003637]