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.001629/0.001629, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001531/0.001531, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.91/2.91, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 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.003441/0.003441, allocations: 67.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.958, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2009/1.159, allocations: 147.7 MB / 1.331 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003005/1.162, allocations: 1.483 MB / 1.332 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/1.162, allocations: 19.81 kB / 1.332 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000503/1.163, allocations: 154.9 kB / 1.332 GB, free: 476 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/1.164, allocations: 0.7086 MB / 1.333 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/1.166, allocations: 0.6185 MB / 1.334 GB, free: 15.13 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008735/1.167, allocations: 0.7216 MB / 1.334 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/1.167, allocations: 201.1 kB / 1.335 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.168, allocations: 0.5138 MB / 1.335 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/1.169, allocations: 227 kB / 1.335 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/1.169, allocations: 20 kB / 1.335 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/1.17, allocations: 0.709 MB / 1.336 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/1.17, allocations: 123.6 kB / 1.336 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/1.17, allocations: 139.4 kB / 1.336 GB, free: 12.5 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009979/1.171, allocations: 0.7037 MB / 1.337 GB, free: 11.79 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.171, allocations: 3.938 kB / 1.337 GB, free: 11.79 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.794e-06/1.171, allocations: 0 / 1.337 GB, free: 11.79 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.171, allocations: 0 / 1.337 GB, free: 11.79 MB / 1.186 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.001021/1.172, allocations: 0.594 MB / 1.338 GB, free: 11.16 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.172, allocations: 8.031 kB / 1.338 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.173, allocations: 159.6 kB / 1.338 GB, free: 11 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/1.174, allocations: 268.5 kB / 1.338 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.174, allocations: 12.5 kB / 1.338 GB, free: 10.7 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/1.174, allocations: 31.88 kB / 1.338 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/1.175, allocations: 281.1 kB / 1.338 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.175, allocations: 0 / 1.338 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/1.175, allocations: 12 kB / 1.338 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.175, allocations: 7.938 kB / 1.338 GB, free: 10.35 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/1.175, allocations: 200.9 kB / 1.339 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/1.176, allocations: 0.933 MB / 1.339 GB, free: 9.176 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/1.177, allocations: 138.4 kB / 1.34 GB, free: 9.031 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/1.177, allocations: 104.6 kB / 1.34 GB, free: 8.926 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/1.177, allocations: 75.92 kB / 1.34 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.177, allocations: 34.56 kB / 1.34 GB, free: 8.809 MB / 1.186 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/1.177, allocations: 0 / 1.34 GB, free: 8.809 MB / 1.186 GB Notification: Performance of matching and sorting (n=17): time 0.0008/1.178, allocations: 295.8 kB / 1.34 GB, free: 8.516 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.178, allocations: 55.39 kB / 1.34 GB, free: 8.449 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/1.178, allocations: 256.2 kB / 1.34 GB, free: 8.191 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/1.179, allocations: 29.7 kB / 1.34 GB, free: 8.156 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.179, allocations: 188.2 kB / 1.341 GB, free: 7.969 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/1.179, allocations: 59.48 kB / 1.341 GB, free: 7.91 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/1.179, allocations: 49.66 kB / 1.341 GB, free: 7.855 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.179, allocations: 334.8 kB / 1.341 GB, free: 7.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/1.179, allocations: 79.88 kB / 1.341 GB, free: 7.441 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/1.179, allocations: 204.7 kB / 1.341 GB, free: 7.207 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/1.18, allocations: 196.9 kB / 1.341 GB, free: 6.996 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.18, allocations: 0 / 1.341 GB, free: 6.996 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005149/1.18, allocations: 249.3 kB / 1.342 GB, free: 6.746 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.18, allocations: 8 kB / 1.342 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.18, allocations: 0 / 1.342 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.18, allocations: 4 kB / 1.342 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.181, allocations: 47.91 kB / 1.342 GB, free: 6.688 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/1.181, allocations: 0 / 1.342 GB, free: 6.688 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/1.181, allocations: 23.88 kB / 1.342 GB, free: 6.664 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.181, allocations: 8 kB / 1.342 GB, free: 6.656 MB / 1.186 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.0001592/1.181, allocations: 161.8 kB / 1.342 GB, free: 6.488 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/1.181, allocations: 31.75 kB / 1.342 GB, free: 6.457 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/1.181, allocations: 225.3 kB / 1.342 GB, free: 6.227 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.181, allocations: 4 kB / 1.342 GB, free: 6.223 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.182, allocations: 0 / 1.342 GB, free: 6.223 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.182, allocations: 0 / 1.342 GB, free: 6.223 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.183, allocations: 0.6246 MB / 1.343 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.183, allocations: 0 / 1.343 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.183, allocations: 35.92 kB / 1.343 GB, free: 5.504 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.183, allocations: 4 kB / 1.343 GB, free: 5.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.183, allocations: 4 kB / 1.343 GB, free: 5.496 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.183, allocations: 4 kB / 1.343 GB, free: 5.492 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.183, allocations: 4.312 kB / 1.343 GB, free: 5.488 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/1.184, allocations: 457 kB / 1.343 GB, free: 5.004 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/1.184, allocations: 47.75 kB / 1.343 GB, free: 4.957 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/1.184, allocations: 4 kB / 1.343 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/1.184, allocations: 12 kB / 1.343 GB, free: 4.941 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.184, allocations: 23.84 kB / 1.343 GB, free: 4.918 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.184, allocations: 8 kB / 1.343 GB, free: 4.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001925/1.184, allocations: 187.1 kB / 1.344 GB, free: 4.727 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.184, allocations: 0 / 1.344 GB, free: 4.727 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004153/1.185, allocations: 87.83 kB / 1.344 GB, free: 4.641 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.0002506/1.185, allocations: 151.2 kB / 1.344 GB, free: 4.484 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000454/1.185, allocations: 181.1 kB / 1.344 GB, free: 4.312 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.185, allocations: 4.188 kB / 1.344 GB, free: 4.309 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/1.185, allocations: 83.83 kB / 1.344 GB, free: 4.227 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/1.186, allocations: 120.3 kB / 1.344 GB, free: 4.113 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.187, allocations: 0.6226 MB / 1.345 GB, free: 3.441 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/1.187, allocations: 179.3 kB / 1.345 GB, free: 3.25 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001769/1.188, allocations: 58.25 kB / 1.345 GB, free: 3.188 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/1.188, allocations: 28.5 kB / 1.345 GB, free: 3.16 MB / 1.186 GB Notification: Performance of SimCode: time 3.1e-07/1.188, allocations: 0 / 1.345 GB, free: 3.16 MB / 1.186 GB Notification: Performance of Templates: time 0.01022/1.198, allocations: 4.85 MB / 1.35 GB, free: 14.43 MB / 1.201 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 -s ida -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/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: 9.366071109077893]