Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.001362/0.001362, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001466/0.001466, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.801 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.544/3.544, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") [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.002148/0.002148, allocations: 68.55 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4457, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2141/0.6598, allocations: 147.7 MB / 1.508 GB, free: 9.316 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.6631, allocations: 1.485 MB / 1.51 GB, free: 7.828 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.6636, allocations: 19.88 kB / 1.51 GB, free: 7.809 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.6642, allocations: 154.8 kB / 1.51 GB, free: 7.656 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.6664, allocations: 0.7039 MB / 1.51 GB, free: 6.949 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.6684, allocations: 0.6209 MB / 1.511 GB, free: 6.332 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.6696, allocations: 0.7176 MB / 1.512 GB, free: 5.613 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.6701, allocations: 189.3 kB / 1.512 GB, free: 5.426 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.6713, allocations: 0.5254 MB / 1.512 GB, free: 4.898 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.6718, allocations: 223 kB / 1.513 GB, free: 4.68 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.6718, allocations: 24 kB / 1.513 GB, free: 4.656 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.6733, allocations: 0.7012 MB / 1.513 GB, free: 3.953 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.6735, allocations: 123.6 kB / 1.513 GB, free: 3.832 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.6737, allocations: 139.3 kB / 1.514 GB, free: 3.695 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.6753, allocations: 0.7125 MB / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6753, allocations: 0 / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6753, allocations: 0 / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.6753, allocations: 0 / 1.514 GB, free: 2.98 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001277/0.6766, allocations: 0.5979 MB / 1.515 GB, free: 2.352 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6766, allocations: 8.031 kB / 1.515 GB, free: 2.344 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.6779, allocations: 163.6 kB / 1.515 GB, free: 2.184 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.6786, allocations: 260.5 kB / 1.515 GB, free: 1.906 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.6786, allocations: 16.5 kB / 1.515 GB, free: 1.887 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.6786, allocations: 35.88 kB / 1.515 GB, free: 1.852 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.6792, allocations: 281 kB / 1.516 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6792, allocations: 0 / 1.516 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.6793, allocations: 12 kB / 1.516 GB, free: 1.547 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6793, allocations: 4 kB / 1.516 GB, free: 1.543 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.6797, allocations: 200.9 kB / 1.516 GB, free: 1.348 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.6812, allocations: 0.9329 MB / 1.517 GB, free: 376 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.6816, allocations: 144.9 kB / 1.517 GB, free: 224 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.6818, allocations: 96.73 kB / 1.517 GB, free: 124 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/0.6823, allocations: 75.92 kB / 1.517 GB, free: 48 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.6823, allocations: 34.5 kB / 1.517 GB, free: 4 kB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.6823, allocations: 0 / 1.517 GB, free: 4 kB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0008274/0.6831, allocations: 281.7 kB / 1.517 GB, free: 15.72 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6832, allocations: 63.41 kB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.6835, allocations: 268.1 kB / 1.518 GB, free: 15.38 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.6835, allocations: 25.7 kB / 1.518 GB, free: 15.34 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6836, allocations: 192.2 kB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.6837, allocations: 59.39 kB / 1.518 GB, free: 15.1 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.6838, allocations: 49.66 kB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6839, allocations: 338.8 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6841, allocations: 63.95 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.6844, allocations: 214 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.6848, allocations: 195.7 kB / 1.519 GB, free: 14.19 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6848, allocations: 0 / 1.519 GB, free: 14.19 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00049/0.6853, allocations: 249.2 kB / 1.519 GB, free: 13.94 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6853, allocations: 8.094 kB / 1.519 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6853, allocations: 4 kB / 1.519 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.6853, allocations: 7.938 kB / 1.519 GB, free: 13.92 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.6856, allocations: 43.92 kB / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.6856, allocations: 4 kB / 1.519 GB, free: 13.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6858, allocations: 19.88 kB / 1.519 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.6858, allocations: 12 kB / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001888/0.686, allocations: 153.8 kB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.6861, allocations: 31.75 kB / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.6866, allocations: 230 kB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6866, allocations: 4 kB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.6866, allocations: 0 / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.6866, allocations: 0 / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.6877, allocations: 0.6168 MB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6877, allocations: 4 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.6879, allocations: 43.91 kB / 1.52 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6879, allocations: 0 / 1.52 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.6879, allocations: 4 kB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.6879, allocations: 8 kB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6879, allocations: 0 / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.6887, allocations: 453.2 kB / 1.521 GB, free: 12.2 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6888, allocations: 39.88 kB / 1.521 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.6889, allocations: 11.98 kB / 1.521 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.689, allocations: 11.98 kB / 1.521 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.6891, allocations: 23.84 kB / 1.521 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6891, allocations: 8 kB / 1.521 GB, free: 12.1 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001906/0.6893, allocations: 183.1 kB / 1.521 GB, free: 11.92 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6893, allocations: 0 / 1.521 GB, free: 11.92 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004142/0.6897, allocations: 83.89 kB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0003126/0.69, allocations: 147.3 kB / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.6905, allocations: 175.6 kB / 1.521 GB, free: 11.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6905, allocations: 4 kB / 1.521 GB, free: 11.51 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.6907, allocations: 96.44 kB / 1.521 GB, free: 11.42 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.6915, allocations: 126.1 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.6927, allocations: 0.6266 MB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.6929, allocations: 175.5 kB / 1.522 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.6931, allocations: 58.25 kB / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.6932, allocations: 19.44 kB / 1.522 GB, free: 10.36 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.6932, allocations: 0 / 1.522 GB, free: 10.36 MB / 1.217 GB Notification: Performance of Templates: time 0.01117/0.7043, allocations: 5.287 MB / 1.527 GB, free: 5.191 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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: 10.423851806670427]