Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001756/0.001756, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002241/0.002241, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.665/1.665, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_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_12_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.002026/0.002026, allocations: 68.41 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2033/0.591, allocations: 147.7 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.5947, allocations: 1.492 MB / 1.473 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.5952, allocations: 23.75 kB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.5958, allocations: 146.9 kB / 1.473 GB, free: 11.06 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.598, allocations: 0.7118 MB / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.5999, allocations: 0.6259 MB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.6012, allocations: 0.7254 MB / 1.475 GB, free: 8.996 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.6016, allocations: 197 kB / 1.475 GB, free: 8.797 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.6028, allocations: 0.5177 MB / 1.476 GB, free: 8.277 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.6031, allocations: 239 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.6031, allocations: 24 kB / 1.476 GB, free: 8.02 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.6045, allocations: 0.7129 MB / 1.477 GB, free: 7.305 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.6046, allocations: 115.7 kB / 1.477 GB, free: 7.191 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.6048, allocations: 139.3 kB / 1.477 GB, free: 7.055 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.606, allocations: 0.7047 MB / 1.478 GB, free: 6.348 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.606, allocations: 8 kB / 1.478 GB, free: 6.34 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.334e-06/0.606, allocations: 0 / 1.478 GB, free: 6.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.606, allocations: 0 / 1.478 GB, free: 6.34 MB / 1.17 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.001094/0.6071, allocations: 0.6018 MB / 1.478 GB, free: 5.703 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6072, allocations: 8.031 kB / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.6083, allocations: 151.6 kB / 1.478 GB, free: 5.547 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.609, allocations: 272.4 kB / 1.479 GB, free: 5.258 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.609, allocations: 20.5 kB / 1.479 GB, free: 5.238 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.609, allocations: 27.94 kB / 1.479 GB, free: 5.211 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.6096, allocations: 281 kB / 1.479 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6096, allocations: 4 kB / 1.479 GB, free: 4.91 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.6097, allocations: 8 kB / 1.479 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.6097, allocations: 8 kB / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.6101, allocations: 200.9 kB / 1.479 GB, free: 4.699 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.6116, allocations: 0.9329 MB / 1.48 GB, free: 3.719 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.6119, allocations: 138.5 kB / 1.48 GB, free: 3.574 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.6121, allocations: 88.75 kB / 1.48 GB, free: 3.484 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.6126, allocations: 75.91 kB / 1.48 GB, free: 3.41 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6127, allocations: 38.5 kB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.6127, allocations: 0 / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0009168/0.6136, allocations: 291.2 kB / 1.481 GB, free: 3.074 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.6136, allocations: 59.41 kB / 1.481 GB, free: 3.004 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.6139, allocations: 256.2 kB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.614, allocations: 25.7 kB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6141, allocations: 200.2 kB / 1.481 GB, free: 2.512 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.6142, allocations: 67.42 kB / 1.481 GB, free: 2.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.6143, allocations: 45.7 kB / 1.481 GB, free: 2.395 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.6145, allocations: 334.8 kB / 1.482 GB, free: 2.059 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.6147, allocations: 63.95 kB / 1.482 GB, free: 1.996 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.615, allocations: 208.2 kB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.6154, allocations: 203.1 kB / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6154, allocations: 0 / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005112/0.6159, allocations: 245.2 kB / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6159, allocations: 4 kB / 1.482 GB, free: 1.293 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6159, allocations: 7.938 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6159, allocations: 3.984 kB / 1.482 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.6162, allocations: 48.08 kB / 1.482 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.6162, allocations: 11.94 kB / 1.482 GB, free: 1.223 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.6164, allocations: 23.83 kB / 1.482 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.6164, allocations: 12 kB / 1.482 GB, free: 1.188 MB / 1.17 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.0001972/0.6166, allocations: 149.8 kB / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.6167, allocations: 27.8 kB / 1.482 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.6172, allocations: 225.8 kB / 1.483 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6172, allocations: 4 kB / 1.483 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6172, allocations: 0 / 1.483 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6172, allocations: 0 / 1.483 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.6184, allocations: 0.6167 MB / 1.483 GB, free: 100 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6184, allocations: 4.141 kB / 1.483 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.6186, allocations: 40.19 kB / 1.483 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.6186, allocations: 7.984 kB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.6186, allocations: 4 kB / 1.483 GB, free: 44 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.6186, allocations: 7.938 kB / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6186, allocations: 0 / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007372/0.6193, allocations: 452.9 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.6194, allocations: 39.81 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.6195, allocations: 12.06 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.6196, allocations: 7.984 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.6197, allocations: 23.91 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6197, allocations: 4 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001787/0.6199, allocations: 183.1 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6199, allocations: 0 / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004261/0.6203, allocations: 91.83 kB / 1.484 GB, free: 15.2 MB / 1.186 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.0002878/0.6206, allocations: 155.1 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.6211, allocations: 175 kB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6211, allocations: 4 kB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.6213, allocations: 91.81 kB / 1.485 GB, free: 14.78 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.622, allocations: 121.5 kB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.6233, allocations: 0.6318 MB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.6235, allocations: 171.5 kB / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.6237, allocations: 58.23 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.6237, allocations: 19.44 kB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of SimCode: time 5e-07/0.6237, allocations: 0 / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of Templates: time 0.01104/0.6348, allocations: 5.361 MB / 1.491 GB, free: 8.488 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.882724331997451]