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.001111/0.001111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002719, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002702, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9697/0.9697, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08525/1.055, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.417/2.417, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2308/2.648, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.819 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.314e-05, allocations: 2.312 kB / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1451/0.1451, allocations: 146.4 MB / 0.962 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.147, allocations: 1.287 MB / 0.9632 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.1472, allocations: 15.88 kB / 0.9632 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1474, allocations: 91.22 kB / 0.9633 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006649/0.1481, allocations: 389.7 kB / 0.9637 GB, free: 13.67 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007877/0.1488, allocations: 438.8 kB / 0.9641 GB, free: 13.24 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.1495, allocations: 0.6902 MB / 0.9648 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1497, allocations: 183.4 kB / 0.965 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.1502, allocations: 391.8 kB / 0.9653 GB, free: 11.99 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1504, allocations: 191.4 kB / 0.9655 GB, free: 11.8 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1505, allocations: 20 kB / 0.9655 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.1509, allocations: 315.1 kB / 0.9658 GB, free: 11.47 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.151, allocations: 95.77 kB / 0.9659 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.1511, allocations: 103.8 kB / 0.966 GB, free: 11.28 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.1515, allocations: 394.7 kB / 0.9664 GB, free: 10.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.1515, allocations: 0 / 0.9664 GB, free: 10.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1515, allocations: 0 / 0.9664 GB, free: 10.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.1515, allocations: 0 / 0.9664 GB, free: 10.89 MB / 0.948 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.0006184/0.1522, allocations: 0.6045 MB / 0.967 GB, free: 10.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.1522, allocations: 8.031 kB / 0.967 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.1529, allocations: 301.3 kB / 0.9673 GB, free: 9.938 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1532, allocations: 244.7 kB / 0.9675 GB, free: 9.672 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1532, allocations: 20.44 kB / 0.9675 GB, free: 9.652 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1532, allocations: 20 kB / 0.9676 GB, free: 9.633 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.1534, allocations: 224.5 kB / 0.9678 GB, free: 9.387 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1534, allocations: 0 / 0.9678 GB, free: 9.387 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1535, allocations: 12 kB / 0.9678 GB, free: 9.375 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1535, allocations: 4 kB / 0.9678 GB, free: 9.371 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1536, allocations: 77.5 kB / 0.9679 GB, free: 9.293 MB / 0.948 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.0007058/0.1543, allocations: 0.7997 MB / 0.9686 GB, free: 8.457 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1544, allocations: 125.3 kB / 0.9688 GB, free: 8.324 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.1544, allocations: 35.67 kB / 0.9688 GB, free: 8.285 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.1546, allocations: 43.89 kB / 0.9688 GB, free: 8.242 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1546, allocations: 38.55 kB / 0.9689 GB, free: 8.195 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.1546, allocations: 0 / 0.9689 GB, free: 8.195 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0002542/0.1549, allocations: 127.8 kB / 0.969 GB, free: 8.066 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1549, allocations: 51.72 kB / 0.969 GB, free: 8.004 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.155, allocations: 236.9 kB / 0.9693 GB, free: 7.762 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.155, allocations: 33.7 kB / 0.9693 GB, free: 7.723 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.1551, allocations: 160.7 kB / 0.9695 GB, free: 7.562 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1551, allocations: 67.42 kB / 0.9695 GB, free: 7.496 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1552, allocations: 41.69 kB / 0.9696 GB, free: 7.449 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.1553, allocations: 334.8 kB / 0.9699 GB, free: 7.113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.1553, allocations: 26.81 kB / 0.9699 GB, free: 7.086 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.1554, allocations: 150.2 kB / 0.97 GB, free: 6.902 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.1555, allocations: 113.5 kB / 0.9702 GB, free: 6.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1555, allocations: 0 / 0.9702 GB, free: 6.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001482/0.1556, allocations: 137.2 kB / 0.9703 GB, free: 6.629 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1556, allocations: 8 kB / 0.9703 GB, free: 6.621 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1556, allocations: 3.984 kB / 0.9703 GB, free: 6.617 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1556, allocations: 4 kB / 0.9703 GB, free: 6.613 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1558, allocations: 48.02 kB / 0.9703 GB, free: 6.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1558, allocations: 4 kB / 0.9704 GB, free: 6.562 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.1558, allocations: 23.81 kB / 0.9704 GB, free: 6.539 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1559, allocations: 8 kB / 0.9704 GB, free: 6.531 MB / 0.948 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 7.589e-05/0.1559, allocations: 124.6 kB / 0.9705 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.156, allocations: 23.91 kB / 0.9705 GB, free: 6.375 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1561, allocations: 115.7 kB / 0.9706 GB, free: 6.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1561, allocations: 4 kB / 0.9706 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.1561, allocations: 0 / 0.9706 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1561, allocations: 0 / 0.9706 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1565, allocations: 0.5076 MB / 0.9711 GB, free: 5.684 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1565, allocations: 8 kB / 0.9711 GB, free: 5.676 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.1566, allocations: 35.92 kB / 0.9712 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.1567, allocations: 35.8 kB / 0.9712 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1567, allocations: 4 kB / 0.9712 GB, free: 5.602 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1567, allocations: 224 / 0.9712 GB, free: 5.602 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1567, allocations: 11.94 kB / 0.9712 GB, free: 5.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1567, allocations: 4 kB / 0.9712 GB, free: 5.586 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1569, allocations: 330 kB / 0.9715 GB, free: 5.219 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1569, allocations: 7.984 kB / 0.9716 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.157, allocations: 8 kB / 0.9716 GB, free: 5.203 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.157, allocations: 15.92 kB / 0.9716 GB, free: 5.188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.157, allocations: 11.98 kB / 0.9716 GB, free: 5.176 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.1571, allocations: 74.78 kB / 0.9717 GB, free: 5.102 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1571, allocations: 0 / 0.9717 GB, free: 5.102 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002264/0.1573, allocations: 91.86 kB / 0.9717 GB, free: 5.012 MB / 0.948 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.0001786/0.1575, allocations: 120.2 kB / 0.9719 GB, free: 4.887 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1576, allocations: 84.69 kB / 0.9719 GB, free: 4.801 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.1576, allocations: 4 kB / 0.9719 GB, free: 4.797 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.1577, allocations: 61.12 kB / 0.972 GB, free: 4.734 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.1582, allocations: 0.7726 MB / 0.9728 GB, free: 3.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.161, allocations: 0.5817 MB / 0.9733 GB, free: 3.191 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.161, allocations: 100.3 kB / 0.9734 GB, free: 3.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.806e-05/0.1611, allocations: 26.3 kB / 0.9734 GB, free: 3.043 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1613, allocations: 129.3 kB / 0.9736 GB, free: 2.914 MB / 0.948 GB Notification: Performance of SimCode: time 7.42e-07/0.1613, allocations: 0 / 0.9736 GB, free: 2.914 MB / 0.948 GB Notification: Performance of Templates: time 0.007183/0.1685, allocations: 5.24 MB / 0.9787 GB, free: 13.8 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.402670263312757]