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.001342/0.001342, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00147/0.00147, allocations: 220.4 kB / 23 MB, free: 4.914 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.224/3.224, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002053/0.002053, allocations: 64.33 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2015/0.5736, allocations: 143.9 MB / 1.505 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006904/0.5805, allocations: 4.221 MB / 1.509 GB, free: 8.898 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.581, allocations: 15.88 kB / 1.509 GB, free: 8.883 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.5816, allocations: 131.1 kB / 1.509 GB, free: 8.754 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.5834, allocations: 0.5601 MB / 1.51 GB, free: 8.191 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.5858, allocations: 0.7965 MB / 1.511 GB, free: 7.395 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.5867, allocations: 0.5846 MB / 1.511 GB, free: 6.809 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.5871, allocations: 169.4 kB / 1.511 GB, free: 6.637 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.5888, allocations: 0.6617 MB / 1.512 GB, free: 5.973 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.5894, allocations: 314.7 kB / 1.512 GB, free: 5.664 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.5895, allocations: 16 kB / 1.512 GB, free: 5.648 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.5912, allocations: 0.8531 MB / 1.513 GB, free: 4.793 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.5914, allocations: 91.72 kB / 1.513 GB, free: 4.703 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.5915, allocations: 99.53 kB / 1.513 GB, free: 4.605 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.5926, allocations: 0.6854 MB / 1.514 GB, free: 3.918 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5926, allocations: 0 / 1.514 GB, free: 3.918 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5926, allocations: 0 / 1.514 GB, free: 3.918 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.5927, allocations: 0 / 1.514 GB, free: 3.918 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.001009/0.5937, allocations: 0.5353 MB / 1.515 GB, free: 3.352 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5937, allocations: 8.031 kB / 1.515 GB, free: 3.344 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.5944, allocations: 79.69 kB / 1.515 GB, free: 3.266 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.5949, allocations: 237.7 kB / 1.515 GB, free: 3.008 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.5949, allocations: 12 kB / 1.515 GB, free: 2.996 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.5949, allocations: 24 kB / 1.515 GB, free: 2.973 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.5955, allocations: 280.1 kB / 1.515 GB, free: 2.672 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.5955, allocations: 3.938 kB / 1.515 GB, free: 2.668 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.5955, allocations: 15.97 kB / 1.515 GB, free: 2.652 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.5956, allocations: 7.938 kB / 1.515 GB, free: 2.645 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.596, allocations: 203.5 kB / 1.515 GB, free: 2.445 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.5978, allocations: 1.109 MB / 1.517 GB, free: 1.277 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.5981, allocations: 169 kB / 1.517 GB, free: 1.066 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.5983, allocations: 112.2 kB / 1.517 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/0.599, allocations: 100.1 kB / 1.517 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.599, allocations: 38.5 kB / 1.517 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.599, allocations: 0 / 1.517 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0008065/0.5998, allocations: 281.1 kB / 1.517 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5999, allocations: 158.2 kB / 1.517 GB, free: 332 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.6001, allocations: 199.2 kB / 1.518 GB, free: 124 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.6002, allocations: 29.7 kB / 1.518 GB, free: 88 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.6003, allocations: 172.3 kB / 1.518 GB, free: 15.91 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.6004, allocations: 44.14 kB / 1.518 GB, free: 15.87 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.6005, allocations: 41.7 kB / 1.518 GB, free: 15.82 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6006, allocations: 330.8 kB / 1.518 GB, free: 15.49 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.6008, allocations: 71.94 kB / 1.518 GB, free: 15.42 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.6011, allocations: 257.1 kB / 1.518 GB, free: 15.12 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.6015, allocations: 211.5 kB / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6015, allocations: 0 / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005567/0.6021, allocations: 241.4 kB / 1.519 GB, free: 14.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6021, allocations: 8.062 kB / 1.519 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.6021, allocations: 4 kB / 1.519 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6021, allocations: 4 kB / 1.519 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.6023, allocations: 40.28 kB / 1.519 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.6023, allocations: 4 kB / 1.519 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.6025, allocations: 23.88 kB / 1.519 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.6025, allocations: 8 kB / 1.519 GB, free: 14.55 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.0001609/0.6027, allocations: 153.7 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.6028, allocations: 19.91 kB / 1.519 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.6033, allocations: 181.4 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.6033, allocations: 8 kB / 1.519 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6033, allocations: 0 / 1.519 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.6033, allocations: 4 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6044, allocations: 0.7688 MB / 1.52 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6044, allocations: 0 / 1.52 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.6045, allocations: 23.98 kB / 1.52 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6045, allocations: 4.156 kB / 1.52 GB, free: 13.31 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.6045, allocations: 8.125 kB / 1.52 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.6045, allocations: 11.88 kB / 1.52 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.6045, allocations: 4 kB / 1.52 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.6051, allocations: 327.5 kB / 1.52 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.6052, allocations: 31.8 kB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.6052, allocations: 8 kB / 1.521 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.6054, allocations: 15.98 kB / 1.521 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.6054, allocations: 16.02 kB / 1.521 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.6054, allocations: 4 kB / 1.521 GB, free: 12.86 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001822/0.6056, allocations: 176.5 kB / 1.521 GB, free: 12.69 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6056, allocations: 0 / 1.521 GB, free: 12.69 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005078/0.6061, allocations: 99.75 kB / 1.521 GB, free: 12.59 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.0004366/0.6065, allocations: 206.9 kB / 1.521 GB, free: 12.38 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.607, allocations: 147.8 kB / 1.521 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.607, allocations: 4.094 kB / 1.521 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6071, allocations: 64.64 kB / 1.521 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.6077, allocations: 74.14 kB / 1.521 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.6086, allocations: 0.5174 MB / 1.522 GB, free: 11.54 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.6088, allocations: 149.8 kB / 1.522 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.6089, allocations: 27.44 kB / 1.522 GB, free: 11.34 MB / 1.217 GB Notification: Performance of SimCode: time 4.41e-07/0.6089, allocations: 0 / 1.522 GB, free: 11.34 MB / 1.217 GB Notification: Performance of Templates: time 0.008276/0.6172, allocations: 4.593 MB / 1.526 GB, free: 6.77 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/jenkins1/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: 12.482292131055146]