Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00164/0.00164, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001829/0.001829, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_11_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_11_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.00215/0.00215, allocations: 68.42 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3622, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2238/0.586, allocations: 147.6 MB / 1.428 GB, free: 7.734 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.5896, allocations: 1.493 MB / 1.429 GB, free: 6.242 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.5901, allocations: 19.81 kB / 1.429 GB, free: 6.223 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.5908, allocations: 150.9 kB / 1.43 GB, free: 6.074 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.5933, allocations: 0.7039 MB / 1.43 GB, free: 5.367 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.5953, allocations: 0.6316 MB / 1.431 GB, free: 4.738 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.5965, allocations: 0.7215 MB / 1.432 GB, free: 4.012 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.597, allocations: 197 kB / 1.432 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/0.5979, allocations: 362.7 kB / 1.432 GB, free: 3.461 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.5983, allocations: 230.9 kB / 1.432 GB, free: 3.234 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.5984, allocations: 24 kB / 1.432 GB, free: 3.211 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.6001, allocations: 0.7167 MB / 1.433 GB, free: 2.492 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.6003, allocations: 115.6 kB / 1.433 GB, free: 2.379 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.6005, allocations: 151.3 kB / 1.433 GB, free: 2.23 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.6019, allocations: 0.7008 MB / 1.434 GB, free: 1.527 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6019, allocations: 0 / 1.434 GB, free: 1.527 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6019, allocations: 0 / 1.434 GB, free: 1.527 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.602, allocations: 0 / 1.434 GB, free: 1.527 MB / 1.123 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.001118/0.6031, allocations: 0.594 MB / 1.435 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6031, allocations: 15.97 kB / 1.435 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6042, allocations: 163.6 kB / 1.435 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.6048, allocations: 260.5 kB / 1.435 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.6048, allocations: 20.5 kB / 1.435 GB, free: 436 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.6049, allocations: 23.94 kB / 1.435 GB, free: 412 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.6054, allocations: 293 kB / 1.435 GB, free: 96 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6054, allocations: 4 kB / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.6054, allocations: 8 kB / 1.435 GB, free: 84 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6054, allocations: 8 kB / 1.435 GB, free: 76 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.6059, allocations: 197 kB / 1.436 GB, free: 15.88 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.6073, allocations: 0.9407 MB / 1.436 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.6076, allocations: 138.4 kB / 1.437 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.6078, allocations: 96.73 kB / 1.437 GB, free: 14.65 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.6082, allocations: 71.92 kB / 1.437 GB, free: 14.58 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.6083, allocations: 38.5 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.6083, allocations: 0 / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008089/0.6091, allocations: 285.7 kB / 1.437 GB, free: 14.25 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6091, allocations: 63.31 kB / 1.437 GB, free: 14.18 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.6094, allocations: 260.2 kB / 1.437 GB, free: 13.91 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6095, allocations: 25.7 kB / 1.437 GB, free: 13.88 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.6096, allocations: 188.2 kB / 1.438 GB, free: 13.69 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.6097, allocations: 67.42 kB / 1.438 GB, free: 13.62 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.6098, allocations: 41.72 kB / 1.438 GB, free: 13.58 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6099, allocations: 334.8 kB / 1.438 GB, free: 13.24 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.6101, allocations: 67.94 kB / 1.438 GB, free: 13.18 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.6104, allocations: 212.2 kB / 1.438 GB, free: 12.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.6108, allocations: 201 kB / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6108, allocations: 0 / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000485/0.6113, allocations: 245.2 kB / 1.439 GB, free: 12.47 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6113, allocations: 4 kB / 1.439 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6113, allocations: 8.094 kB / 1.439 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6113, allocations: 0 / 1.439 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.6115, allocations: 55.84 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6115, allocations: 4 kB / 1.439 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.6117, allocations: 23.83 kB / 1.439 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.6117, allocations: 12 kB / 1.439 GB, free: 12.37 MB / 1.139 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.000156/0.6119, allocations: 145.8 kB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.6119, allocations: 31.8 kB / 1.439 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.6124, allocations: 229.6 kB / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6124, allocations: 0 / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6124, allocations: 0 / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6125, allocations: 3.984 kB / 1.439 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6135, allocations: 0.6209 MB / 1.44 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6135, allocations: 4 kB / 1.44 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6137, allocations: 35.92 kB / 1.44 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.6137, allocations: 7.984 kB / 1.44 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.6137, allocations: 4 kB / 1.44 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6137, allocations: 96 / 1.44 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6137, allocations: 11.92 kB / 1.44 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.6145, allocations: 453.1 kB / 1.44 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.6146, allocations: 43.8 kB / 1.44 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.6146, allocations: 8 kB / 1.44 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.6148, allocations: 11.98 kB / 1.44 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.6148, allocations: 19.86 kB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6148, allocations: 4 kB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001854/0.615, allocations: 187.1 kB / 1.441 GB, free: 10.46 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.615, allocations: 0 / 1.441 GB, free: 10.46 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004164/0.6154, allocations: 87.84 kB / 1.441 GB, free: 10.38 MB / 1.139 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.0002977/0.6157, allocations: 155.2 kB / 1.441 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.6162, allocations: 175.7 kB / 1.441 GB, free: 10.05 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6162, allocations: 0 / 1.441 GB, free: 10.05 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.6164, allocations: 92.45 kB / 1.441 GB, free: 9.957 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.6171, allocations: 130.5 kB / 1.441 GB, free: 9.832 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.6183, allocations: 0.6479 MB / 1.442 GB, free: 9.121 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.6185, allocations: 179.5 kB / 1.442 GB, free: 8.93 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.6186, allocations: 23.44 kB / 1.442 GB, free: 8.906 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/0.6186, allocations: 0 / 1.442 GB, free: 8.906 MB / 1.139 GB Notification: Performance of Templates: time 0.008069/0.6266, allocations: 4.49 MB / 1.446 GB, free: 4.457 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.383131183218211]