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.001405/0.001405, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001678/0.001678, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.27/3.27, allocations: 0.4899 GB / 0.7916 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.002069/0.002069, allocations: 65.81 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3986, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2659/0.6645, allocations: 172.9 MB / 1.49 GB, free: 5.215 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.6826, allocations: 7.18 MB / 1.497 GB, free: 14.01 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009398/0.6835, allocations: 19.81 kB / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.6846, allocations: 178.7 kB / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006363/0.691, allocations: 1.307 MB / 1.499 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.694, allocations: 0.6402 MB / 1.499 GB, free: 11.87 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.6959, allocations: 0.7523 MB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.6966, allocations: 254.7 kB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.6992, allocations: 0.7396 MB / 1.501 GB, free: 10.12 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.7007, allocations: 454.4 kB / 1.501 GB, free: 9.676 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.7007, allocations: 28 kB / 1.501 GB, free: 9.648 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/0.7058, allocations: 1.321 MB / 1.503 GB, free: 8.324 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.7061, allocations: 115.6 kB / 1.503 GB, free: 8.211 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.7065, allocations: 175.1 kB / 1.503 GB, free: 8.039 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.7097, allocations: 0.9112 MB / 1.504 GB, free: 7.125 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7097, allocations: 0 / 1.504 GB, free: 7.125 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.956e-06/0.7097, allocations: 0 / 1.504 GB, free: 7.125 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.7097, allocations: 0 / 1.504 GB, free: 7.125 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.001866/0.7116, allocations: 0.7121 MB / 1.505 GB, free: 6.363 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.7116, allocations: 15.92 kB / 1.505 GB, free: 6.348 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.7135, allocations: 131.6 kB / 1.505 GB, free: 6.219 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.7145, allocations: 345.3 kB / 1.505 GB, free: 5.836 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.7146, allocations: 50.27 kB / 1.505 GB, free: 5.781 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.7147, allocations: 24 kB / 1.505 GB, free: 5.758 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.716, allocations: 366.1 kB / 1.505 GB, free: 5.379 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.716, allocations: 8 kB / 1.505 GB, free: 5.371 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.716, allocations: 8 kB / 1.505 GB, free: 5.363 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.7161, allocations: 8 kB / 1.505 GB, free: 5.355 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.717, allocations: 274 kB / 1.506 GB, free: 5.086 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.7204, allocations: 1.496 MB / 1.507 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.7211, allocations: 182.6 kB / 1.507 GB, free: 3.277 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.7215, allocations: 108.8 kB / 1.507 GB, free: 3.168 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.7231, allocations: 0.5092 MB / 1.508 GB, free: 2.566 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.7231, allocations: 38.5 kB / 1.508 GB, free: 2.52 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 4.167e-06/0.7231, allocations: 0 / 1.508 GB, free: 2.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.001781/0.7249, allocations: 364 kB / 1.508 GB, free: 2.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.725, allocations: 51.41 kB / 1.508 GB, free: 2.098 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.7256, allocations: 312.5 kB / 1.509 GB, free: 1.785 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.7256, allocations: 29.7 kB / 1.509 GB, free: 1.75 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.7259, allocations: 192.2 kB / 1.509 GB, free: 1.559 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.726, allocations: 55.52 kB / 1.509 GB, free: 1.504 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.7261, allocations: 49.66 kB / 1.509 GB, free: 1.449 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002325/0.7264, allocations: 342.8 kB / 1.509 GB, free: 1.105 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.7267, allocations: 87.92 kB / 1.509 GB, free: 1.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.7271, allocations: 145.9 kB / 1.51 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.7279, allocations: 245.6 kB / 1.51 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7279, allocations: 0 / 1.51 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001052/0.729, allocations: 289.2 kB / 1.51 GB, free: 316 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.729, allocations: 4 kB / 1.51 GB, free: 312 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.729, allocations: 4 kB / 1.51 GB, free: 308 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.729, allocations: 0 / 1.51 GB, free: 308 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.7294, allocations: 39.98 kB / 1.51 GB, free: 268 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.7294, allocations: 8.172 kB / 1.51 GB, free: 260 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.7298, allocations: 35.72 kB / 1.51 GB, free: 224 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.7299, allocations: 15.98 kB / 1.51 GB, free: 208 kB / 1.201 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.0002889/0.7302, allocations: 145.8 kB / 1.51 GB, free: 52 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.7304, allocations: 31.81 kB / 1.51 GB, free: 20 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.7317, allocations: 316.1 kB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.7317, allocations: 4 kB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7317, allocations: 0 / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7317, allocations: 0 / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.7341, allocations: 0.8121 MB / 1.511 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7341, allocations: 0 / 1.511 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.7344, allocations: 35.97 kB / 1.511 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.7344, allocations: 0 / 1.511 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.7345, allocations: 15.88 kB / 1.511 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.7345, allocations: 4 kB / 1.511 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.7345, allocations: 7.938 kB / 1.511 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.7356, allocations: 401.4 kB / 1.512 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.7359, allocations: 136.8 kB / 1.512 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.736, allocations: 11.94 kB / 1.512 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.7364, allocations: 15.98 kB / 1.512 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.7365, allocations: 15.98 kB / 1.512 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.7365, allocations: 11.98 kB / 1.512 GB, free: 14.11 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004232/0.737, allocations: 227.1 kB / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.01e-07/0.737, allocations: 0 / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001114/0.7381, allocations: 127.7 kB / 1.512 GB, free: 13.76 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.0008531/0.7389, allocations: 218.9 kB / 1.513 GB, free: 13.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008939/0.7398, allocations: 216 kB / 1.513 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.7398, allocations: 4.062 kB / 1.513 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.7402, allocations: 111.8 kB / 1.513 GB, free: 13.21 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.7418, allocations: 165 kB / 1.513 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.7441, allocations: 0.6004 MB / 1.514 GB, free: 12.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/0.745, allocations: 0.7872 MB / 1.514 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004791/0.7455, allocations: 78.88 kB / 1.515 GB, free: 11.51 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7457, allocations: 35.42 kB / 1.515 GB, free: 11.48 MB / 1.217 GB Notification: Performance of SimCode: time 1.502e-06/0.7457, allocations: 0 / 1.515 GB, free: 11.48 MB / 1.217 GB Notification: Performance of Templates: time 0.02619/0.7719, allocations: 7.36 MB / 1.522 GB, free: 4.203 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/jenkins/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: 9.678634217008948]