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.0007829/0.0007829, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009967/0.00178, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007106/0.0007106, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008703/0.001581, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9251/0.9251, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08631/1.011, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.832/1.832, allocations: 378.2 MB / 0.6076 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5312/2.363, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.673e-06/1.673e-06, allocations: 4.922 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.369e-05, allocations: 2.938 kB / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1355/0.1355, allocations: 146.4 MB / 0.8724 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1371, allocations: 1.317 MB / 0.8737 GB, free: 408 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1372, allocations: 11.88 kB / 0.8737 GB, free: 396 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1374, allocations: 91.22 kB / 0.8738 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.1381, allocations: 397.7 kB / 0.8741 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.1387, allocations: 452.8 kB / 0.8746 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.1392, allocations: 0.7097 MB / 0.8753 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.1395, allocations: 187.5 kB / 0.8754 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.1399, allocations: 405 kB / 0.8758 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1401, allocations: 191.4 kB / 0.876 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1402, allocations: 24 kB / 0.876 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1405, allocations: 315.1 kB / 0.8763 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.1406, allocations: 91.7 kB / 0.8764 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.1407, allocations: 99.81 kB / 0.8765 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1411, allocations: 394.7 kB / 0.8769 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.1411, allocations: 4 kB / 0.8769 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1411, allocations: 0 / 0.8769 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.1411, allocations: 3.984 kB / 0.8769 GB, free: 13.08 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.0006321/0.1418, allocations: 0.6161 MB / 0.8775 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1418, allocations: 11.97 kB / 0.8775 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006405/0.1424, allocations: 297.4 kB / 0.8778 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1427, allocations: 252.6 kB / 0.878 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1427, allocations: 20.44 kB / 0.8781 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1427, allocations: 24 kB / 0.8781 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.143, allocations: 216.6 kB / 0.8783 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.143, allocations: 3.938 kB / 0.8783 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.143, allocations: 12 kB / 0.8783 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.143, allocations: 8 kB / 0.8783 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.1431, allocations: 73.88 kB / 0.8784 GB, free: 11.47 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.0007841/0.1439, allocations: 0.7822 MB / 0.8791 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.144, allocations: 117.2 kB / 0.8793 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.144, allocations: 35.67 kB / 0.8793 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.1442, allocations: 59.88 kB / 0.8793 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.1442, allocations: 30.56 kB / 0.8794 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.1442, allocations: 0 / 0.8794 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0002439/0.1445, allocations: 136.1 kB / 0.8795 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1445, allocations: 55.41 kB / 0.8796 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1446, allocations: 247 kB / 0.8798 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1446, allocations: 29.7 kB / 0.8798 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.1447, allocations: 164.7 kB / 0.88 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1447, allocations: 59.47 kB / 0.88 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1448, allocations: 49.64 kB / 0.8801 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.1449, allocations: 338.8 kB / 0.8804 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.1449, allocations: 26.75 kB / 0.8804 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.145, allocations: 139 kB / 0.8806 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.1451, allocations: 113.4 kB / 0.8807 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1451, allocations: 4 kB / 0.8807 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001329/0.1452, allocations: 133.8 kB / 0.8808 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1452, allocations: 4 kB / 0.8808 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1452, allocations: 0 / 0.8808 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.1452, allocations: 4 kB / 0.8808 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1454, allocations: 55.91 kB / 0.8809 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1454, allocations: 0 / 0.8809 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.1454, allocations: 15.89 kB / 0.8809 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1454, allocations: 12.09 kB / 0.8809 GB, free: 8.719 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 7.929e-05/0.1455, allocations: 124.6 kB / 0.881 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1456, allocations: 27.91 kB / 0.881 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.1457, allocations: 115.2 kB / 0.8811 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1457, allocations: 7.984 kB / 0.8812 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1457, allocations: 0 / 0.8812 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1457, allocations: 0 / 0.8812 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.1462, allocations: 0.5154 MB / 0.8817 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1462, allocations: 4 kB / 0.8817 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1463, allocations: 35.97 kB / 0.8817 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1464, allocations: 31.75 kB / 0.8817 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1464, allocations: 0 / 0.8817 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1464, allocations: 8 kB / 0.8817 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1464, allocations: 7.938 kB / 0.8817 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1464, allocations: 4 kB / 0.8817 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.1467, allocations: 332 kB / 0.8821 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1467, allocations: 8 kB / 0.8821 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1468, allocations: 4 kB / 0.8821 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1469, allocations: 19.91 kB / 0.8821 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1469, allocations: 8 kB / 0.8821 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.1469, allocations: 84.64 kB / 0.8822 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 0 / 0.8822 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003108/0.1473, allocations: 87.83 kB / 0.8823 GB, free: 7.188 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.0001877/0.1474, allocations: 124.2 kB / 0.8824 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.1476, allocations: 84.69 kB / 0.8825 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.1476, allocations: 4 kB / 0.8825 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.1476, allocations: 48.7 kB / 0.8825 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.148, allocations: 151.7 kB / 0.8827 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.1507, allocations: 0.5836 MB / 0.8832 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.1508, allocations: 104.2 kB / 0.8833 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.07e-05/0.1509, allocations: 34.45 kB / 0.8834 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.151, allocations: 121.3 kB / 0.8835 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of SimCode: time 8.82e-07/0.151, allocations: 4 kB / 0.8835 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.006473/0.1575, allocations: 5.268 MB / 0.8886 GB, free: 0.7344 MB / 0.8542 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.164651086553931]