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.001928/0.001928, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002526/0.002526, allocations: 210.8 kB / 23.03 MB, free: 4.863 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.098/3.098, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002041/0.002041, allocations: 65.86 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3644, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1952/0.5595, allocations: 143.9 MB / 1.468 GB, free: 492 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006243/0.5658, allocations: 4.233 MB / 1.472 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.5662, allocations: 15.88 kB / 1.472 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.5667, allocations: 123.1 kB / 1.472 GB, free: 12.1 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.5681, allocations: 0.5601 MB / 1.473 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.5701, allocations: 0.7971 MB / 1.473 GB, free: 10.74 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.5708, allocations: 0.5807 MB / 1.474 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.5712, allocations: 173.4 kB / 1.474 GB, free: 9.984 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.5727, allocations: 0.6655 MB / 1.475 GB, free: 9.316 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/0.5734, allocations: 306.8 kB / 1.475 GB, free: 9.016 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.5734, allocations: 16 kB / 1.475 GB, free: 9 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.5749, allocations: 0.8492 MB / 1.476 GB, free: 8.148 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.575, allocations: 91.72 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.5752, allocations: 107.5 kB / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.5762, allocations: 0.6893 MB / 1.477 GB, free: 7.262 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5762, allocations: 0 / 1.477 GB, free: 7.262 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5762, allocations: 0 / 1.477 GB, free: 7.262 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.5762, allocations: 0 / 1.477 GB, free: 7.262 MB / 1.17 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.0009716/0.5772, allocations: 0.5313 MB / 1.477 GB, free: 6.699 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5772, allocations: 12.03 kB / 1.477 GB, free: 6.688 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006442/0.5779, allocations: 79.69 kB / 1.477 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.5783, allocations: 233.7 kB / 1.478 GB, free: 6.355 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5783, allocations: 12 kB / 1.478 GB, free: 6.344 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.5784, allocations: 24 kB / 1.478 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.5789, allocations: 280.2 kB / 1.478 GB, free: 6.02 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5789, allocations: 11.86 kB / 1.478 GB, free: 6.008 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.5789, allocations: 8 kB / 1.478 GB, free: 6 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.579, allocations: 11.94 kB / 1.478 GB, free: 5.988 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.5794, allocations: 204.2 kB / 1.478 GB, free: 5.789 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.5809, allocations: 1.105 MB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.5812, allocations: 173 kB / 1.479 GB, free: 4.406 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.5815, allocations: 108.2 kB / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.5821, allocations: 108 kB / 1.479 GB, free: 4.18 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.5821, allocations: 38.5 kB / 1.48 GB, free: 4.133 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5821, allocations: 0 / 1.48 GB, free: 4.133 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.000771/0.5829, allocations: 269.2 kB / 1.48 GB, free: 3.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.583, allocations: 158.7 kB / 1.48 GB, free: 3.672 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.5832, allocations: 204.2 kB / 1.48 GB, free: 3.465 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5832, allocations: 29.7 kB / 1.48 GB, free: 3.43 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.5833, allocations: 164.3 kB / 1.48 GB, free: 3.266 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.5834, allocations: 39.64 kB / 1.48 GB, free: 3.227 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.5835, allocations: 45.66 kB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5836, allocations: 334.8 kB / 1.481 GB, free: 2.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5838, allocations: 71.88 kB / 1.481 GB, free: 2.77 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.5841, allocations: 249.2 kB / 1.481 GB, free: 2.473 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.5845, allocations: 215.5 kB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5845, allocations: 0 / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005008/0.585, allocations: 233.3 kB / 1.481 GB, free: 2 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.585, allocations: 4 kB / 1.481 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.585, allocations: 4 kB / 1.481 GB, free: 1.992 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.585, allocations: 4 kB / 1.481 GB, free: 1.988 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.5852, allocations: 47.91 kB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5852, allocations: 4 kB / 1.482 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5854, allocations: 28.12 kB / 1.482 GB, free: 1.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.5854, allocations: 8 kB / 1.482 GB, free: 1.902 MB / 1.17 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.0001573/0.5856, allocations: 154.1 kB / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5857, allocations: 19.86 kB / 1.482 GB, free: 1.723 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.5862, allocations: 185.4 kB / 1.482 GB, free: 1.527 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5862, allocations: 4 kB / 1.482 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5862, allocations: 0 / 1.482 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5862, allocations: 4 kB / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009821/0.5872, allocations: 0.7804 MB / 1.483 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5872, allocations: 0 / 1.483 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.5873, allocations: 23.98 kB / 1.483 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5873, allocations: 3.938 kB / 1.483 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5873, allocations: 8 kB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5873, allocations: 3.938 kB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5873, allocations: 4.078 kB / 1.483 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.5879, allocations: 331.7 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.588, allocations: 31.81 kB / 1.483 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.588, allocations: 8 kB / 1.483 GB, free: 252 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5881, allocations: 12.05 kB / 1.483 GB, free: 240 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.5882, allocations: 15.98 kB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5882, allocations: 8 kB / 1.483 GB, free: 216 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000186/0.5884, allocations: 176.4 kB / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5884, allocations: 0 / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004931/0.5889, allocations: 99.8 kB / 1.483 GB, free: 15.94 MB / 1.186 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.0004388/0.5893, allocations: 203 kB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.5897, allocations: 148.2 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5897, allocations: 64 / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.5899, allocations: 63.83 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.5904, allocations: 67.95 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.5913, allocations: 0.5215 MB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.5915, allocations: 149.8 kB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.5915, allocations: 19.44 kB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of SimCode: time 2.9e-07/0.5915, allocations: 0 / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of Templates: time 0.00764/0.5992, allocations: 4.61 MB / 1.489 GB, free: 10.11 MB / 1.186 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.262447555083781]