Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001413/0.001413, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001599/0.001599, allocations: 220.3 kB / 22.24 MB, free: 5.109 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.43/3.43, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 71.55 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1955/0.5697, allocations: 143.9 MB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006223/0.5759, allocations: 4.221 MB / 1.509 GB, free: 8.828 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.5763, allocations: 11.88 kB / 1.509 GB, free: 8.816 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.5768, allocations: 131 kB / 1.509 GB, free: 8.688 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.5785, allocations: 0.564 MB / 1.509 GB, free: 8.121 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5806, allocations: 0.799 MB / 1.51 GB, free: 7.324 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007985/0.5814, allocations: 0.5807 MB / 1.511 GB, free: 6.742 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.5817, allocations: 165.3 kB / 1.511 GB, free: 6.574 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.5835, allocations: 0.6733 MB / 1.511 GB, free: 5.898 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007378/0.5842, allocations: 306.7 kB / 1.512 GB, free: 5.598 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.5842, allocations: 24 kB / 1.512 GB, free: 5.574 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.5861, allocations: 0.8493 MB / 1.513 GB, free: 4.723 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5862, allocations: 87.72 kB / 1.513 GB, free: 4.637 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.5864, allocations: 107.5 kB / 1.513 GB, free: 4.531 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.5875, allocations: 0.6776 MB / 1.513 GB, free: 3.852 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5875, allocations: 0 / 1.513 GB, free: 3.852 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5875, allocations: 0 / 1.513 GB, free: 3.852 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.5876, allocations: 0 / 1.513 GB, free: 3.852 MB / 1.201 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.001071/0.5886, allocations: 0.5275 MB / 1.514 GB, free: 3.293 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5887, allocations: 16.03 kB / 1.514 GB, free: 3.277 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.5894, allocations: 79.62 kB / 1.514 GB, free: 3.199 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.5898, allocations: 233.7 kB / 1.514 GB, free: 2.945 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.5899, allocations: 15.98 kB / 1.514 GB, free: 2.93 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.5899, allocations: 20 kB / 1.514 GB, free: 2.91 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.5905, allocations: 292.1 kB / 1.515 GB, free: 2.598 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5905, allocations: 0 / 1.515 GB, free: 2.598 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.5905, allocations: 8 kB / 1.515 GB, free: 2.59 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.5905, allocations: 7.938 kB / 1.515 GB, free: 2.582 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.591, allocations: 203.5 kB / 1.515 GB, free: 2.383 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.5927, allocations: 1.112 MB / 1.516 GB, free: 1.211 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.593, allocations: 165 kB / 1.516 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.5932, allocations: 108.4 kB / 1.516 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.5939, allocations: 107.9 kB / 1.516 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5939, allocations: 34.56 kB / 1.516 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.5939, allocations: 4 kB / 1.516 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007877/0.5947, allocations: 277.6 kB / 1.516 GB, free: 464 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.5948, allocations: 162.2 kB / 1.517 GB, free: 264 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.5951, allocations: 203.1 kB / 1.517 GB, free: 52 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.5951, allocations: 25.7 kB / 1.517 GB, free: 20 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5952, allocations: 164.2 kB / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.5953, allocations: 51.62 kB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.5954, allocations: 41.7 kB / 1.517 GB, free: 15.76 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5955, allocations: 334.8 kB / 1.517 GB, free: 15.42 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.5957, allocations: 72.06 kB / 1.517 GB, free: 15.35 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.596, allocations: 239.3 kB / 1.518 GB, free: 15.06 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.5964, allocations: 215.5 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5964, allocations: 4 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005281/0.5969, allocations: 233.2 kB / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.597, allocations: 11.98 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.597, allocations: 256 / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.597, allocations: 8.375 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.5972, allocations: 35.92 kB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5972, allocations: 4 kB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.5974, allocations: 23.88 kB / 1.518 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.5975, allocations: 15.94 kB / 1.518 GB, free: 14.49 MB / 1.217 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.0001631/0.5976, allocations: 153.7 kB / 1.518 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5978, allocations: 23.91 kB / 1.518 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.5983, allocations: 189.4 kB / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5983, allocations: 4 kB / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5983, allocations: 0 / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5983, allocations: 7.984 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5993, allocations: 0.7688 MB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5993, allocations: 4 kB / 1.519 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.5995, allocations: 27.91 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5995, allocations: 4 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5995, allocations: 0 / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.5995, allocations: 12.09 kB / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5995, allocations: 0 / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.6001, allocations: 335.6 kB / 1.52 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.6002, allocations: 27.83 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.6002, allocations: 4 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.6004, allocations: 7.938 kB / 1.52 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.6004, allocations: 15.92 kB / 1.52 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6004, allocations: 15.98 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001859/0.6006, allocations: 172.5 kB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6006, allocations: 0 / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005457/0.6012, allocations: 107.8 kB / 1.52 GB, free: 12.52 MB / 1.217 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.0004322/0.6016, allocations: 195 kB / 1.52 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.602, allocations: 151.9 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.602, allocations: 3.938 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.6022, allocations: 59.97 kB / 1.52 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.6028, allocations: 71.27 kB / 1.521 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/0.6037, allocations: 496.1 kB / 1.521 GB, free: 11.51 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.6039, allocations: 145.8 kB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.6041, allocations: 61.75 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.6041, allocations: 19.44 kB / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of SimCode: time 4.21e-07/0.6041, allocations: 0 / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of Templates: time 0.01004/0.6142, allocations: 4.69 MB / 1.526 GB, free: 6.652 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.856872905045748]