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.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009718/0.0009718, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.9404/0.9404, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.145/2.145, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.721e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1387/0.1387, allocations: 163.7 MB / 1.038 GB, free: 2.348 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.141, allocations: 1.572 MB / 1.04 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.1413, allocations: 15.88 kB / 1.04 GB, free: 0.7578 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.1418, allocations: 150.9 kB / 1.04 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.1432, allocations: 0.7266 MB / 1.04 GB, free: 15.88 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1446, allocations: 0.6501 MB / 1.041 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007338/0.1453, allocations: 0.698 MB / 1.042 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.1456, allocations: 177.5 kB / 1.042 GB, free: 14.35 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.1467, allocations: 0.5996 MB / 1.043 GB, free: 13.75 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.147, allocations: 199.4 kB / 1.043 GB, free: 13.55 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.147, allocations: 24 kB / 1.043 GB, free: 13.53 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.1486, allocations: 0.7203 MB / 1.043 GB, free: 12.81 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1488, allocations: 119.7 kB / 1.044 GB, free: 12.69 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1489, allocations: 119.7 kB / 1.044 GB, free: 12.57 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.15, allocations: 0.6503 MB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.15, allocations: 0 / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.273e-06/0.15, allocations: 0 / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.15, allocations: 0 / 1.044 GB, free: 11.92 MB / 1.01 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.0007834/0.1508, allocations: 0.6858 MB / 1.045 GB, free: 11.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1508, allocations: 12.03 kB / 1.045 GB, free: 11.19 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.1516, allocations: 215.1 kB / 1.045 GB, free: 10.98 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.152, allocations: 271.3 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.152, allocations: 20.44 kB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.152, allocations: 24 kB / 1.046 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.1523, allocations: 239.8 kB / 1.046 GB, free: 10.38 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1523, allocations: 0 / 1.046 GB, free: 10.38 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1524, allocations: 12 kB / 1.046 GB, free: 10.37 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1524, allocations: 8 kB / 1.046 GB, free: 10.36 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1525, allocations: 85 kB / 1.046 GB, free: 10.28 MB / 1.01 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.0009804/0.1535, allocations: 1.154 MB / 1.047 GB, free: 9.066 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1537, allocations: 91.03 kB / 1.047 GB, free: 8.965 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.1537, allocations: 43.67 kB / 1.047 GB, free: 8.918 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.154, allocations: 71.94 kB / 1.047 GB, free: 8.848 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.154, allocations: 37.38 kB / 1.047 GB, free: 8.801 MB / 1.01 GB Notification: Performance of pre-optimization done (n=17): time 1.864e-06/0.154, allocations: 0 / 1.047 GB, free: 8.801 MB / 1.01 GB Notification: Performance of matching and sorting (n=17): time 0.0003762/0.1544, allocations: 172 kB / 1.047 GB, free: 8.629 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1544, allocations: 55.41 kB / 1.047 GB, free: 8.562 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1546, allocations: 304.2 kB / 1.048 GB, free: 8.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1546, allocations: 25.7 kB / 1.048 GB, free: 8.219 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1547, allocations: 239 kB / 1.048 GB, free: 7.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1547, allocations: 63.48 kB / 1.048 GB, free: 7.918 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.1548, allocations: 51.31 kB / 1.048 GB, free: 7.859 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1549, allocations: 0.5079 MB / 1.049 GB, free: 7.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.155, allocations: 23.98 kB / 1.049 GB, free: 7.316 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1551, allocations: 174.1 kB / 1.049 GB, free: 7.105 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1552, allocations: 126 kB / 1.049 GB, free: 6.957 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1552, allocations: 0 / 1.049 GB, free: 6.957 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001994/0.1554, allocations: 173.3 kB / 1.049 GB, free: 6.781 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1554, allocations: 15.92 kB / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1554, allocations: 0 / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1555, allocations: 4 kB / 1.049 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1556, allocations: 39.92 kB / 1.049 GB, free: 6.723 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1556, allocations: 7.984 kB / 1.049 GB, free: 6.715 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.1557, allocations: 15.89 kB / 1.049 GB, free: 6.699 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.1557, allocations: 15.98 kB / 1.049 GB, free: 6.684 MB / 1.01 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 9.126e-05/0.1558, allocations: 168.5 kB / 1.049 GB, free: 6.508 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1558, allocations: 39.84 kB / 1.049 GB, free: 6.469 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.156, allocations: 149.8 kB / 1.049 GB, free: 6.316 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.156, allocations: 4 kB / 1.049 GB, free: 6.312 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.156, allocations: 0 / 1.049 GB, free: 6.312 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.156, allocations: 0 / 1.049 GB, free: 6.312 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.1568, allocations: 0.5807 MB / 1.05 GB, free: 5.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1568, allocations: 4.219 kB / 1.05 GB, free: 5.656 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.1569, allocations: 35.92 kB / 1.05 GB, free: 5.621 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1569, allocations: 4 kB / 1.05 GB, free: 5.617 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.157, allocations: 4 kB / 1.05 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.157, allocations: 8 kB / 1.05 GB, free: 5.605 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.157, allocations: 4 kB / 1.05 GB, free: 5.602 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1573, allocations: 361.5 kB / 1.05 GB, free: 5.199 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1573, allocations: 51.75 kB / 1.05 GB, free: 5.148 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1573, allocations: 4 kB / 1.051 GB, free: 5.145 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1574, allocations: 4.031 kB / 1.051 GB, free: 5.141 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.1575, allocations: 31.84 kB / 1.051 GB, free: 5.109 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1575, allocations: 8 kB / 1.051 GB, free: 5.102 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1576, allocations: 201.1 kB / 1.051 GB, free: 4.906 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 0 / 1.051 GB, free: 4.906 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003021/0.1579, allocations: 95.83 kB / 1.051 GB, free: 4.812 MB / 1.01 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.0002441/0.1581, allocations: 147.2 kB / 1.051 GB, free: 4.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1583, allocations: 115 kB / 1.051 GB, free: 4.547 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1583, allocations: 0 / 1.051 GB, free: 4.547 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.1584, allocations: 59.53 kB / 1.051 GB, free: 4.484 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.1588, allocations: 115.1 kB / 1.051 GB, free: 4.371 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1599, allocations: 0.5865 MB / 1.052 GB, free: 3.723 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.16, allocations: 100.3 kB / 1.052 GB, free: 3.605 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.1601, allocations: 50.25 kB / 1.052 GB, free: 3.555 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.1602, allocations: 20.5 kB / 1.052 GB, free: 3.535 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/0.1602, allocations: 7.938 kB / 1.052 GB, free: 3.527 MB / 1.01 GB Notification: Performance of Templates: time 0.3398/0.5, allocations: 4.717 MB / 1.057 GB, free: 221.7 MB / 1.01 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=240 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.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: 6.0024509720969945]