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.001101/0.001101, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002783, allocations: 435.8 kB / 10.33 MB, free: 368 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.001006/0.001006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002289, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9592/0.9592, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08612/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.409/2.409, allocations: 446.7 MB / 0.6745 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2489/2.658, allocations: 145.9 MB / 0.817 GB, free: 4.18 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.483e-06/1.483e-06, allocations: 0 / 0.8183 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.154e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1489/0.1489, allocations: 146.4 MB / 0.9613 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1506, allocations: 1.285 MB / 0.9626 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1508, allocations: 19.81 kB / 0.9626 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.151, allocations: 79.34 kB / 0.9627 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006206/0.1516, allocations: 393.7 kB / 0.9631 GB, free: 14.06 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.1524, allocations: 442.7 kB / 0.9635 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.153, allocations: 0.6864 MB / 0.9641 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.1532, allocations: 187.4 kB / 0.9643 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.1537, allocations: 391.9 kB / 0.9647 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1539, allocations: 187.4 kB / 0.9649 GB, free: 12.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1539, allocations: 24 kB / 0.9649 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.1543, allocations: 311.1 kB / 0.9652 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.1544, allocations: 95.69 kB / 0.9653 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.1545, allocations: 99.81 kB / 0.9654 GB, free: 11.67 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1549, allocations: 398.7 kB / 0.9658 GB, free: 11.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.1549, allocations: 0 / 0.9658 GB, free: 11.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1549, allocations: 0 / 0.9658 GB, free: 11.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.155, allocations: 4 kB / 0.9658 GB, free: 11.27 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.0006466/0.1556, allocations: 0.6045 MB / 0.9664 GB, free: 10.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1556, allocations: 12.62 kB / 0.9664 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006452/0.1563, allocations: 309.2 kB / 0.9667 GB, free: 10.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1565, allocations: 228.7 kB / 0.9669 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1566, allocations: 28.44 kB / 0.9669 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1566, allocations: 24 kB / 0.9669 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.1568, allocations: 224.5 kB / 0.9671 GB, free: 9.766 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1568, allocations: 0 / 0.9671 GB, free: 9.766 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1569, allocations: 4 kB / 0.9672 GB, free: 9.762 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1569, allocations: 8 kB / 0.9672 GB, free: 9.754 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.157, allocations: 77.88 kB / 0.9672 GB, free: 9.676 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.0008492/0.1578, allocations: 0.7977 MB / 0.968 GB, free: 8.844 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1579, allocations: 117.3 kB / 0.9681 GB, free: 8.719 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.158, allocations: 35.67 kB / 0.9682 GB, free: 8.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.1581, allocations: 47.89 kB / 0.9682 GB, free: 8.633 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1581, allocations: 42.48 kB / 0.9682 GB, free: 8.582 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.1581, allocations: 4 kB / 0.9682 GB, free: 8.578 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0002543/0.1584, allocations: 120.5 kB / 0.9684 GB, free: 8.457 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1584, allocations: 55.7 kB / 0.9684 GB, free: 8.391 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1586, allocations: 236.9 kB / 0.9686 GB, free: 8.148 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1586, allocations: 25.7 kB / 0.9687 GB, free: 8.117 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.1586, allocations: 164.7 kB / 0.9688 GB, free: 7.953 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1587, allocations: 71.39 kB / 0.9689 GB, free: 7.883 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.1587, allocations: 45.69 kB / 0.9689 GB, free: 7.832 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.1588, allocations: 334.8 kB / 0.9693 GB, free: 7.496 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.1588, allocations: 22.81 kB / 0.9693 GB, free: 7.473 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.1589, allocations: 150.2 kB / 0.9694 GB, free: 7.289 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/0.159, allocations: 104.3 kB / 0.9695 GB, free: 7.168 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.159, allocations: 4 kB / 0.9695 GB, free: 7.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001423/0.1591, allocations: 131.1 kB / 0.9696 GB, free: 7.027 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1592, allocations: 7.938 kB / 0.9697 GB, free: 7.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1592, allocations: 4.094 kB / 0.9697 GB, free: 7.016 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1592, allocations: 4 kB / 0.9697 GB, free: 7.012 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1593, allocations: 47.92 kB / 0.9697 GB, free: 6.965 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1593, allocations: 0 / 0.9697 GB, free: 6.965 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.1594, allocations: 27.81 kB / 0.9697 GB, free: 6.938 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1594, allocations: 8 kB / 0.9697 GB, free: 6.93 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.424e-05/0.1595, allocations: 124.6 kB / 0.9699 GB, free: 6.797 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1595, allocations: 23.92 kB / 0.9699 GB, free: 6.773 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1596, allocations: 115.7 kB / 0.97 GB, free: 6.652 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1596, allocations: 3.984 kB / 0.97 GB, free: 6.648 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.1596, allocations: 4 kB / 0.97 GB, free: 6.645 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1596, allocations: 7.938 kB / 0.97 GB, free: 6.637 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1601, allocations: 0.4999 MB / 0.9705 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1601, allocations: 0 / 0.9705 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1602, allocations: 43.92 kB / 0.9705 GB, free: 6.039 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1602, allocations: 28.02 kB / 0.9706 GB, free: 6.012 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1602, allocations: 8 kB / 0.9706 GB, free: 6.004 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1602, allocations: 4 kB / 0.9706 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1602, allocations: 4 kB / 0.9706 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1602, allocations: 0 / 0.9706 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1604, allocations: 331.9 kB / 0.9709 GB, free: 5.625 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1605, allocations: 3.984 kB / 0.9709 GB, free: 5.621 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.1605, allocations: 11.98 kB / 0.9709 GB, free: 5.609 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1606, allocations: 23.86 kB / 0.9709 GB, free: 5.586 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1606, allocations: 4 kB / 0.9709 GB, free: 5.582 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.1606, allocations: 90.78 kB / 0.971 GB, free: 5.488 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1606, allocations: 0 / 0.971 GB, free: 5.488 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002216/0.1608, allocations: 87.83 kB / 0.9711 GB, free: 5.402 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.0001684/0.161, allocations: 104.3 kB / 0.9712 GB, free: 5.293 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1612, allocations: 97.53 kB / 0.9713 GB, free: 5.199 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.1612, allocations: 8.125 kB / 0.9713 GB, free: 5.191 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.1612, allocations: 52.72 kB / 0.9714 GB, free: 5.137 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1616, allocations: 133 kB / 0.9715 GB, free: 5.008 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.1643, allocations: 0.5796 MB / 0.9721 GB, free: 4.379 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.87e-05/0.1643, allocations: 104.3 kB / 0.9722 GB, free: 4.258 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.964e-05/0.1644, allocations: 34.48 kB / 0.9722 GB, free: 4.223 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1646, allocations: 121.3 kB / 0.9723 GB, free: 4.102 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.1646, allocations: 0 / 0.9723 GB, free: 4.102 MB / 0.948 GB Notification: Performance of Templates: time 0.006857/0.1714, allocations: 5.094 MB / 0.9773 GB, free: 15.14 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.343090100213885]