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.001379/0.001379, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001478/0.001478, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9734/0.9734, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.123/2.123, allocations: 429.5 MB / 0.6743 GB, free: 3.891 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 2.825e-06/2.825e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.533e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1314/0.1314, allocations: 143.9 MB / 1.02 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1333, allocations: 1.253 MB / 1.021 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1334, allocations: 15.81 kB / 1.021 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1337, allocations: 83.34 kB / 1.021 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006612/0.1343, allocations: 389.7 kB / 1.022 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.135, allocations: 454.8 kB / 1.022 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.1356, allocations: 0.6979 MB / 1.023 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.1359, allocations: 186.7 kB / 1.023 GB, free: 2.562 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.1363, allocations: 374.9 kB / 1.023 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1365, allocations: 199.4 kB / 1.023 GB, free: 2 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.1365, allocations: 28 kB / 1.023 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.1369, allocations: 307.1 kB / 1.024 GB, free: 1.672 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.137, allocations: 115.6 kB / 1.024 GB, free: 1.559 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.1371, allocations: 115.8 kB / 1.024 GB, free: 1.445 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.1376, allocations: 446.5 kB / 1.024 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1376, allocations: 0 / 1.024 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1376, allocations: 3.938 kB / 1.024 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1376, allocations: 0 / 1.024 GB, free: 1.004 MB / 0.9792 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.0005708/0.1382, allocations: 0.655 MB / 1.025 GB, free: 320 kB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1382, allocations: 12.03 kB / 1.025 GB, free: 308 kB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006513/0.1388, allocations: 220 kB / 1.025 GB, free: 88 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1391, allocations: 251.5 kB / 1.026 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1391, allocations: 36.3 kB / 1.026 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.1392, allocations: 24 kB / 1.026 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1394, allocations: 227.9 kB / 1.026 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1394, allocations: 4 kB / 1.026 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1394, allocations: 8 kB / 1.026 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1394, allocations: 8 kB / 1.026 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.1395, allocations: 72.92 kB / 1.026 GB, free: 15.42 MB / 0.9948 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.0007802/0.1403, allocations: 1.088 MB / 1.027 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1404, allocations: 82.97 kB / 1.027 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.1404, allocations: 47.59 kB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.1407, allocations: 47.94 kB / 1.027 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.1408, allocations: 37.39 kB / 1.027 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.1408, allocations: 4 kB / 1.027 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.000252/0.141, allocations: 153.6 kB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.141, allocations: 63.33 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1412, allocations: 288.2 kB / 1.028 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1412, allocations: 25.7 kB / 1.028 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.1413, allocations: 242.9 kB / 1.028 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1413, allocations: 63.47 kB / 1.028 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.1414, allocations: 59.3 kB / 1.028 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1415, allocations: 0.504 MB / 1.028 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.1415, allocations: 23.98 kB / 1.029 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.1416, allocations: 170.1 kB / 1.029 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1417, allocations: 125.2 kB / 1.029 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1417, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001632/0.1419, allocations: 157.3 kB / 1.029 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1419, allocations: 10.34 kB / 1.029 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1419, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1419, allocations: 8.094 kB / 1.029 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.142, allocations: 35.98 kB / 1.029 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.142, allocations: 7.938 kB / 1.029 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.1421, allocations: 19.83 kB / 1.029 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1421, allocations: 11.98 kB / 1.029 GB, free: 11.96 MB / 0.9948 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.392e-05/0.1422, allocations: 164.6 kB / 1.029 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1422, allocations: 39.69 kB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.1424, allocations: 139.6 kB / 1.029 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1424, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.1424, allocations: 4 kB / 1.029 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1424, allocations: 0 / 1.029 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1428, allocations: 0.5266 MB / 1.03 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1428, allocations: 4 kB / 1.03 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.051e-05/0.1429, allocations: 27.98 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1429, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1429, allocations: 12.2 kB / 1.03 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1429, allocations: 7.938 kB / 1.03 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1429, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1431, allocations: 359.7 kB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1432, allocations: 39.8 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1432, allocations: 7.984 kB / 1.03 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.1433, allocations: 8 kB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.1433, allocations: 11.92 kB / 1.03 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1433, allocations: 15.98 kB / 1.03 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.1434, allocations: 193.1 kB / 1.031 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1434, allocations: 8.031 kB / 1.031 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002496/0.1436, allocations: 83.83 kB / 1.031 GB, free: 10.2 MB / 0.9948 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.0001669/0.1438, allocations: 135.1 kB / 1.031 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.144, allocations: 91.5 kB / 1.031 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.144, allocations: 192 / 1.031 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.144, allocations: 55.55 kB / 1.031 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1444, allocations: 117.2 kB / 1.031 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/0.1452, allocations: 0.6017 MB / 1.032 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.1453, allocations: 96.3 kB / 1.032 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.741e-05/0.1454, allocations: 34.28 kB / 1.032 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.1456, allocations: 158.1 kB / 1.032 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of SimCode: time 4.61e-07/0.1456, allocations: 3.938 kB / 1.032 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of Templates: time 0.006708/0.1523, allocations: 5 MB / 1.037 GB, free: 3.953 MB / 0.9948 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 -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: 5.7378845806233585]