Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.001547/0.001547, allocations: 102.1 kB / 19.7 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.001852/0.001852, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 8.035 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 2.863/2.863, allocations: 0.49 GB / 0.7958 GB, free: 33.55 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [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.001864/0.001864, allocations: 74.48 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2861, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1854/0.4714, allocations: 173.1 MB / 1.496 GB, free: 3.672 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008361/0.4798, allocations: 7.235 MB / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.4801, allocations: 23.81 kB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.4807, allocations: 170.7 kB / 1.503 GB, free: 12.22 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.4837, allocations: 1.334 MB / 1.505 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.4852, allocations: 0.6682 MB / 1.505 GB, free: 10.22 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009102/0.4861, allocations: 0.768 MB / 1.506 GB, free: 9.449 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.4865, allocations: 247 kB / 1.506 GB, free: 9.207 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.4879, allocations: 0.7435 MB / 1.507 GB, free: 8.461 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008084/0.4888, allocations: 454.4 kB / 1.508 GB, free: 8.016 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.4888, allocations: 24 kB / 1.508 GB, free: 7.992 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.491, allocations: 1.364 MB / 1.509 GB, free: 6.625 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.4911, allocations: 119.6 kB / 1.509 GB, free: 6.508 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.4913, allocations: 175.1 kB / 1.509 GB, free: 6.336 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.4925, allocations: 0.9112 MB / 1.51 GB, free: 5.422 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4926, allocations: 0 / 1.51 GB, free: 5.422 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4926, allocations: 0 / 1.51 GB, free: 5.422 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.4926, allocations: 0 / 1.51 GB, free: 5.422 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009435/0.4935, allocations: 0.6368 MB / 1.511 GB, free: 4.754 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4935, allocations: 15.97 kB / 1.511 GB, free: 4.738 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.4945, allocations: 135.6 kB / 1.511 GB, free: 4.605 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.495, allocations: 275.5 kB / 1.511 GB, free: 4.305 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.4951, allocations: 76.06 kB / 1.511 GB, free: 4.219 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.4951, allocations: 31.98 kB / 1.511 GB, free: 4.188 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.4957, allocations: 371.2 kB / 1.512 GB, free: 3.805 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4957, allocations: 0 / 1.512 GB, free: 3.805 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4958, allocations: 12 kB / 1.512 GB, free: 3.793 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4958, allocations: 4 kB / 1.512 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.4963, allocations: 285.6 kB / 1.512 GB, free: 3.512 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.4981, allocations: 1.442 MB / 1.513 GB, free: 1.945 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.4985, allocations: 190.5 kB / 1.513 GB, free: 1.75 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.4987, allocations: 112.8 kB / 1.514 GB, free: 1.637 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.4995, allocations: 143.8 kB / 1.514 GB, free: 1.496 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4995, allocations: 38.5 kB / 1.514 GB, free: 1.449 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.522e-06/0.4995, allocations: 0 / 1.514 GB, free: 1.449 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.000881/0.5004, allocations: 363.6 kB / 1.514 GB, free: 1.09 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5004, allocations: 59.41 kB / 1.514 GB, free: 1.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.5007, allocations: 308.5 kB / 1.514 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.5008, allocations: 29.7 kB / 1.514 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.5009, allocations: 184.4 kB / 1.515 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.5009, allocations: 55.53 kB / 1.515 GB, free: 448 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.501, allocations: 41.7 kB / 1.515 GB, free: 400 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5012, allocations: 338.8 kB / 1.515 GB, free: 52 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.5014, allocations: 91.88 kB / 1.515 GB, free: 15.96 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.5016, allocations: 151.6 kB / 1.515 GB, free: 15.79 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.502, allocations: 233.8 kB / 1.515 GB, free: 15.54 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.502, allocations: 4 kB / 1.516 GB, free: 15.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005648/0.5026, allocations: 286.7 kB / 1.516 GB, free: 15.25 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5026, allocations: 8 kB / 1.516 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5026, allocations: 0 / 1.516 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5026, allocations: 4 kB / 1.516 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.5028, allocations: 39.97 kB / 1.516 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5028, allocations: 0 / 1.516 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.503, allocations: 35.77 kB / 1.516 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.503, allocations: 16.19 kB / 1.516 GB, free: 15.15 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001496/0.5032, allocations: 153.7 kB / 1.516 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.5033, allocations: 27.81 kB / 1.516 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.5039, allocations: 320.1 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.5039, allocations: 0 / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5039, allocations: 0 / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.504, allocations: 7.984 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.5057, allocations: 0.7762 MB / 1.517 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5057, allocations: 4 kB / 1.517 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.506, allocations: 31.97 kB / 1.517 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.506, allocations: 7.938 kB / 1.517 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.506, allocations: 11.94 kB / 1.517 GB, free: 13.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.506, allocations: 4 kB / 1.517 GB, free: 13.73 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5061, allocations: 3.938 kB / 1.517 GB, free: 13.73 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.5069, allocations: 397.4 kB / 1.518 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.5071, allocations: 75.64 kB / 1.518 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.5072, allocations: 3.938 kB / 1.518 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.5076, allocations: 15.98 kB / 1.518 GB, free: 13.21 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.5076, allocations: 15.98 kB / 1.518 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.5077, allocations: 11.98 kB / 1.518 GB, free: 13.18 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003138/0.508, allocations: 227 kB / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.508, allocations: 0 / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007244/0.5087, allocations: 123.8 kB / 1.518 GB, free: 12.84 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005467/0.5092, allocations: 222.9 kB / 1.518 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007205/0.51, allocations: 207.7 kB / 1.518 GB, free: 12.4 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.51, allocations: 0 / 1.518 GB, free: 12.4 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.5102, allocations: 116.5 kB / 1.519 GB, free: 12.29 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.511, allocations: 163.4 kB / 1.519 GB, free: 12.13 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5121, allocations: 0.6329 MB / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.5125, allocations: 0.7872 MB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5126, allocations: 35.38 kB / 1.52 GB, free: 10.6 MB / 1.217 GB Notification: Performance of SimCode: time 3.21e-07/0.5126, allocations: 0 / 1.52 GB, free: 10.6 MB / 1.217 GB Notification: Performance of Templates: time 0.008757/0.5213, allocations: 6.337 MB / 1.526 GB, free: 4.309 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.249171036994085]