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.0008271/0.0008271, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.001989, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009042/0.0009042, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.002008, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9323/0.9323, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.036, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.851/1.851, allocations: 378.4 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4915/2.342, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.165e-05, allocations: 4.281 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1324/0.1324, allocations: 146.5 MB / 0.8727 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1342, allocations: 1.315 MB / 0.874 GB, free: 320 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1344, allocations: 19.81 kB / 0.874 GB, free: 300 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.1347, allocations: 91.22 kB / 0.8741 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.1353, allocations: 389.8 kB / 0.8745 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.1362, allocations: 450.8 kB / 0.8749 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.1368, allocations: 0.7059 MB / 0.8756 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.1371, allocations: 195.3 kB / 0.8758 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.1377, allocations: 404.6 kB / 0.8762 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1379, allocations: 191.4 kB / 0.8763 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.138, allocations: 24 kB / 0.8764 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006661/0.1387, allocations: 311.1 kB / 0.8767 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.1388, allocations: 95.69 kB / 0.8767 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.884e-05/0.1389, allocations: 99.81 kB / 0.8768 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.1393, allocations: 394.7 kB / 0.8772 GB, free: 13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.1393, allocations: 4 kB / 0.8772 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1393, allocations: 0 / 0.8772 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.1393, allocations: 0 / 0.8772 GB, free: 12.99 MB / 0.8542 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.0008263/0.1402, allocations: 0.6161 MB / 0.8778 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1402, allocations: 8.031 kB / 0.8778 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.1413, allocations: 301.3 kB / 0.8781 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1417, allocations: 252.6 kB / 0.8784 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.1417, allocations: 24.42 kB / 0.8784 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.1418, allocations: 20 kB / 0.8784 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.1421, allocations: 220.5 kB / 0.8786 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1421, allocations: 0 / 0.8786 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1422, allocations: 12 kB / 0.8786 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1422, allocations: 8 kB / 0.8786 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1423, allocations: 77.5 kB / 0.8787 GB, free: 11.38 MB / 0.8542 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.0009729/0.1433, allocations: 0.7765 MB / 0.8795 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1435, allocations: 121.3 kB / 0.8796 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1435, allocations: 35.67 kB / 0.8796 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.1437, allocations: 51.89 kB / 0.8797 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1438, allocations: 38.56 kB / 0.8797 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.724e-06/0.1438, allocations: 3.938 kB / 0.8797 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0003714/0.1441, allocations: 125.7 kB / 0.8798 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1442, allocations: 55.41 kB / 0.8799 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1444, allocations: 251 kB / 0.8801 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1444, allocations: 25.7 kB / 0.8801 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1445, allocations: 176.7 kB / 0.8803 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1445, allocations: 55.47 kB / 0.8804 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.1446, allocations: 49.64 kB / 0.8804 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1447, allocations: 338.8 kB / 0.8807 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.1448, allocations: 18.83 kB / 0.8807 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1449, allocations: 147.2 kB / 0.8809 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.145, allocations: 113.5 kB / 0.881 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.145, allocations: 4 kB / 0.881 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001447/0.1452, allocations: 133.8 kB / 0.8811 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1452, allocations: 4 kB / 0.8811 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1452, allocations: 0 / 0.8811 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1452, allocations: 4 kB / 0.8811 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1453, allocations: 51.91 kB / 0.8812 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1453, allocations: 0 / 0.8812 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.1454, allocations: 19.89 kB / 0.8812 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.1454, allocations: 8.094 kB / 0.8812 GB, free: 8.633 MB / 0.8542 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 8.294e-05/0.1455, allocations: 132.5 kB / 0.8813 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1455, allocations: 27.91 kB / 0.8814 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1457, allocations: 107.8 kB / 0.8815 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1457, allocations: 0 / 0.8815 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1457, allocations: 4 kB / 0.8815 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1457, allocations: 4 kB / 0.8815 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.1461, allocations: 0.5154 MB / 0.882 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1461, allocations: 4 kB / 0.882 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.1462, allocations: 35.92 kB / 0.882 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.1463, allocations: 39.73 kB / 0.8821 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1463, allocations: 0 / 0.8821 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1463, allocations: 4 kB / 0.8821 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1463, allocations: 4 kB / 0.8821 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1463, allocations: 0 / 0.8821 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1465, allocations: 340 kB / 0.8824 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1465, allocations: 4 kB / 0.8824 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1466, allocations: 8 kB / 0.8824 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1467, allocations: 23.84 kB / 0.8824 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1467, allocations: 4 kB / 0.8824 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.803e-05/0.1467, allocations: 84.64 kB / 0.8825 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1467, allocations: 0 / 0.8825 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002281/0.1469, allocations: 87.83 kB / 0.8826 GB, free: 7.094 MB / 0.8542 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.0001814/0.1471, allocations: 116.5 kB / 0.8827 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1473, allocations: 100.7 kB / 0.8828 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.1473, allocations: 4 kB / 0.8828 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.1473, allocations: 60.7 kB / 0.8829 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.1481, allocations: 0.8368 MB / 0.8837 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.1509, allocations: 0.5757 MB / 0.8842 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.1509, allocations: 100.2 kB / 0.8843 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.151, allocations: 34.55 kB / 0.8844 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.1512, allocations: 129.3 kB / 0.8845 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.1512, allocations: 0 / 0.8845 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of Templates: time 0.008667/0.1599, allocations: 5.419 MB / 0.8898 GB, free: 15.63 MB / 0.8699 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity/Buildings_12_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.260124135762453]