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.001454/0.001454, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001585/0.001585, allocations: 210.9 kB / 23 MB, free: 4.566 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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 2.937/2.937, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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.001921/0.001921, allocations: 71.09 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1771/0.4878, allocations: 166.8 MB / 1.517 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005665/0.4934, allocations: 4.638 MB / 1.522 GB, free: 11.84 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.4937, allocations: 15.88 kB / 1.522 GB, free: 11.83 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.4941, allocations: 123.1 kB / 1.522 GB, free: 11.71 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.4954, allocations: 0.5718 MB / 1.522 GB, free: 11.13 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.4971, allocations: 0.8288 MB / 1.523 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.000701/0.4978, allocations: 0.5807 MB / 1.524 GB, free: 9.723 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.4981, allocations: 165.4 kB / 1.524 GB, free: 9.562 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4996, allocations: 0.7005 MB / 1.524 GB, free: 8.859 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.5001, allocations: 306.9 kB / 1.525 GB, free: 8.559 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.5002, allocations: 23.94 kB / 1.525 GB, free: 8.535 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.5019, allocations: 1.114 MB / 1.526 GB, free: 7.418 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.502, allocations: 87.72 kB / 1.526 GB, free: 7.332 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.5021, allocations: 131.3 kB / 1.526 GB, free: 7.203 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009691/0.5031, allocations: 0.7166 MB / 1.527 GB, free: 6.484 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5031, allocations: 4 kB / 1.527 GB, free: 6.48 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5031, allocations: 0 / 1.527 GB, free: 6.48 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5031, allocations: 0 / 1.527 GB, free: 6.48 MB / 1.217 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.0008695/0.504, allocations: 0.5353 MB / 1.527 GB, free: 5.914 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.504, allocations: 8.031 kB / 1.527 GB, free: 5.906 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.5046, allocations: 83.67 kB / 1.527 GB, free: 5.824 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.505, allocations: 237.6 kB / 1.528 GB, free: 5.566 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.505, allocations: 12 kB / 1.528 GB, free: 5.555 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.5051, allocations: 24 kB / 1.528 GB, free: 5.531 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.5056, allocations: 284.1 kB / 1.528 GB, free: 5.227 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.5056, allocations: 4 kB / 1.528 GB, free: 5.223 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.5056, allocations: 8 kB / 1.528 GB, free: 5.215 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.5056, allocations: 7.938 kB / 1.528 GB, free: 5.207 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.506, allocations: 199.8 kB / 1.528 GB, free: 5.012 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.5076, allocations: 1.213 MB / 1.529 GB, free: 3.727 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.5079, allocations: 173 kB / 1.529 GB, free: 3.512 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.5081, allocations: 116.4 kB / 1.53 GB, free: 3.383 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/0.5086, allocations: 91.88 kB / 1.53 GB, free: 3.293 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5087, allocations: 46.56 kB / 1.53 GB, free: 3.238 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.5087, allocations: 0 / 1.53 GB, free: 3.238 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0007487/0.5094, allocations: 277.7 kB / 1.53 GB, free: 2.961 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.5095, allocations: 162.2 kB / 1.53 GB, free: 2.766 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.5098, allocations: 288.2 kB / 1.53 GB, free: 2.473 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.5098, allocations: 29.7 kB / 1.53 GB, free: 2.438 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5099, allocations: 147.9 kB / 1.531 GB, free: 2.289 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.51, allocations: 51.59 kB / 1.531 GB, free: 2.238 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.5101, allocations: 42.08 kB / 1.531 GB, free: 2.191 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5102, allocations: 338.8 kB / 1.531 GB, free: 1.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5104, allocations: 67.94 kB / 1.531 GB, free: 1.785 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5106, allocations: 154.2 kB / 1.531 GB, free: 1.605 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.511, allocations: 215.5 kB / 1.531 GB, free: 1.367 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.511, allocations: 3.938 kB / 1.531 GB, free: 1.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004825/0.5114, allocations: 241.2 kB / 1.532 GB, free: 1.121 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5115, allocations: 4 kB / 1.532 GB, free: 1.117 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5115, allocations: 4.25 kB / 1.532 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.5115, allocations: 8 kB / 1.532 GB, free: 1.105 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.5117, allocations: 39.92 kB / 1.532 GB, free: 1.066 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5117, allocations: 7.984 kB / 1.532 GB, free: 1.059 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.5118, allocations: 23.78 kB / 1.532 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.5119, allocations: 23.92 kB / 1.532 GB, free: 1.012 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.0001398/0.512, allocations: 146.4 kB / 1.532 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5122, allocations: 23.86 kB / 1.532 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.5126, allocations: 181.9 kB / 1.532 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5126, allocations: 8 kB / 1.532 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5126, allocations: 0 / 1.532 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5126, allocations: 0 / 1.532 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.5136, allocations: 0.8307 MB / 1.533 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5136, allocations: 0 / 1.533 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5137, allocations: 27.92 kB / 1.533 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5137, allocations: 3.938 kB / 1.533 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5137, allocations: 8.125 kB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5137, allocations: 4 kB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5137, allocations: 4 kB / 1.533 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.5143, allocations: 335.5 kB / 1.533 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.5143, allocations: 39.81 kB / 1.533 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.5144, allocations: 4.094 kB / 1.533 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.5145, allocations: 15.98 kB / 1.533 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.5146, allocations: 15.92 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.5146, allocations: 4 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000236/0.5148, allocations: 235 kB / 1.534 GB, free: 15.02 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5148, allocations: 0 / 1.534 GB, free: 15.02 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004183/0.5152, allocations: 99.8 kB / 1.534 GB, free: 14.92 MB / 1.232 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.0003967/0.5156, allocations: 202.9 kB / 1.534 GB, free: 14.71 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.516, allocations: 155.8 kB / 1.534 GB, free: 14.56 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.516, allocations: 0.5 kB / 1.534 GB, free: 14.56 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.5161, allocations: 63.84 kB / 1.534 GB, free: 14.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.5168, allocations: 144.8 kB / 1.534 GB, free: 14.36 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.5177, allocations: 0.5155 MB / 1.535 GB, free: 13.79 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.518, allocations: 0.7558 MB / 1.535 GB, free: 13.01 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.5181, allocations: 27.44 kB / 1.535 GB, free: 12.99 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/0.5181, allocations: 4 kB / 1.535 GB, free: 12.98 MB / 1.232 GB Notification: Performance of Templates: time 0.007798/0.5259, allocations: 5.317 MB / 1.541 GB, free: 7.699 MB / 1.232 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: 11.40525237499969]