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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 111.5 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 193.2 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 489.2 MB / 0.7687 GB, free: 3.941 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 68.08 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.971/0.973, allocations: 163.8 MB / 1.263 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.206/1.179, allocations: 167.4 MB / 1.426 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003014/1.182, allocations: 1.566 MB / 1.428 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/1.182, allocations: 14.88 kB / 1.428 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/1.183, allocations: 143 kB / 1.428 GB, free: 9.922 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/1.185, allocations: 0.7069 MB / 1.428 GB, free: 9.383 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/1.186, allocations: 0.5947 MB / 1.429 GB, free: 8.949 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009507/1.187, allocations: 0.7272 MB / 1.43 GB, free: 8.52 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/1.188, allocations: 229.9 kB / 1.43 GB, free: 8.383 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/1.189, allocations: 492.9 kB / 1.43 GB, free: 8.094 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/1.189, allocations: 223.1 kB / 1.431 GB, free: 7.961 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/1.189, allocations: 22.69 kB / 1.431 GB, free: 7.961 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/1.191, allocations: 0.8599 MB / 1.432 GB, free: 7.477 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/1.191, allocations: 113.5 kB / 1.432 GB, free: 7.398 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/1.191, allocations: 168.6 kB / 1.432 GB, free: 7.297 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/1.193, allocations: 0.7337 MB / 1.432 GB, free: 6.859 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.193, allocations: 3.938 kB / 1.433 GB, free: 6.855 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.232e-06/1.193, allocations: 0 / 1.433 GB, free: 6.855 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.193, allocations: 0 / 1.433 GB, free: 6.855 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.001096/1.194, allocations: 0.6761 MB / 1.433 GB, free: 6.254 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.194, allocations: 12.91 kB / 1.433 GB, free: 6.25 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.195, allocations: 157.3 kB / 1.433 GB, free: 6.176 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/1.195, allocations: 332.4 kB / 1.434 GB, free: 5.867 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.196, allocations: 17.69 kB / 1.434 GB, free: 5.859 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/1.196, allocations: 31.97 kB / 1.434 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/1.196, allocations: 275.5 kB / 1.434 GB, free: 5.656 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.196, allocations: 4.953 kB / 1.434 GB, free: 5.652 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/1.196, allocations: 10.12 kB / 1.434 GB, free: 5.645 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.196, allocations: 13.69 kB / 1.434 GB, free: 5.637 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/1.197, allocations: 202.2 kB / 1.434 GB, free: 5.547 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/1.198, allocations: 1.218 MB / 1.435 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/1.198, allocations: 149.6 kB / 1.436 GB, free: 4.336 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/1.199, allocations: 98.36 kB / 1.436 GB, free: 4.285 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/1.199, allocations: 302.9 kB / 1.436 GB, free: 3.977 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.199, allocations: 39.53 kB / 1.436 GB, free: 3.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/1.199, allocations: 5.156 kB / 1.436 GB, free: 3.926 MB / 1.123 GB Notification: Performance of matching and sorting (n=17): time 0.0007922/1.2, allocations: 296.4 kB / 1.436 GB, free: 3.773 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.2, allocations: 53.78 kB / 1.436 GB, free: 3.711 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/1.201, allocations: 324.2 kB / 1.437 GB, free: 3.504 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/1.201, allocations: 30.73 kB / 1.437 GB, free: 3.469 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/1.201, allocations: 180.7 kB / 1.437 GB, free: 3.305 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/1.201, allocations: 75.14 kB / 1.437 GB, free: 3.238 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/1.201, allocations: 43.95 kB / 1.437 GB, free: 3.207 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.201, allocations: 342.7 kB / 1.437 GB, free: 2.871 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/1.201, allocations: 67.77 kB / 1.437 GB, free: 2.84 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/1.201, allocations: 126.9 kB / 1.437 GB, free: 2.75 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/1.202, allocations: 195 kB / 1.438 GB, free: 2.625 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.202, allocations: 5.375 kB / 1.438 GB, free: 2.621 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005089/1.202, allocations: 267.4 kB / 1.438 GB, free: 2.469 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.202, allocations: 7.688 kB / 1.438 GB, free: 2.469 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.202, allocations: 2.344 kB / 1.438 GB, free: 2.469 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.202, allocations: 2.219 kB / 1.438 GB, free: 2.469 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.203, allocations: 41.92 kB / 1.438 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.203, allocations: 2.531 kB / 1.438 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/1.203, allocations: 34.27 kB / 1.438 GB, free: 2.438 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/1.203, allocations: 16.75 kB / 1.438 GB, free: 2.43 MB / 1.123 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.0001689/1.203, allocations: 156.1 kB / 1.438 GB, free: 2.285 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/1.203, allocations: 29.84 kB / 1.438 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/1.204, allocations: 227.2 kB / 1.438 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.204, allocations: 2.219 kB / 1.438 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.204, allocations: 1.156 kB / 1.438 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.204, allocations: 0 / 1.438 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.205, allocations: 0.7055 MB / 1.439 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.205, allocations: 10.8 kB / 1.439 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.205, allocations: 34.05 kB / 1.439 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.205, allocations: 2.75 kB / 1.439 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.205, allocations: 8.125 kB / 1.439 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/1.205, allocations: 14.67 kB / 1.439 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.205, allocations: 1.375 kB / 1.439 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/1.206, allocations: 451.7 kB / 1.44 GB, free: 1.172 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.206, allocations: 127.9 kB / 1.44 GB, free: 1.043 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/1.206, allocations: 8 kB / 1.44 GB, free: 1.039 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/1.206, allocations: 13.14 kB / 1.44 GB, free: 1.031 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/1.206, allocations: 18.67 kB / 1.44 GB, free: 1.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.206, allocations: 6.531 kB / 1.44 GB, free: 1.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002566/1.207, allocations: 233.5 kB / 1.44 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.207, allocations: 0 / 1.44 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004176/1.207, allocations: 85.36 kB / 1.44 GB, free: 0.8516 MB / 1.123 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.0004551/1.207, allocations: 166 kB / 1.44 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004618/1.208, allocations: 186.6 kB / 1.44 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.208, allocations: 4.062 kB / 1.44 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/1.208, allocations: 95.92 kB / 1.44 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/1.209, allocations: 165.9 kB / 1.441 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/1.21, allocations: 0.6563 MB / 1.441 GB, free: 20 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/1.211, allocations: 0.7826 MB / 1.442 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/1.211, allocations: 30.69 kB / 1.442 GB, free: 15.27 MB / 1.139 GB Notification: Performance of SimCode: time 2.31e-07/1.211, allocations: 0 / 1.442 GB, free: 15.27 MB / 1.139 GB Notification: Performance of Templates: time 0.008287/1.219, allocations: 4.96 MB / 1.447 GB, free: 10.97 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.464346245862544]