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.0009347/0.0009347, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009494/0.0009494, allocations: 177 kB / 23.36 MB, free: 1.129 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.9381/0.9381, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.295/2.295, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.473e-06/1.473e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.577e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1388/0.1388, allocations: 146 MB / 0.9811 GB, free: 11.7 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1409, allocations: 1.28 MB / 0.9824 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.141, allocations: 19.81 kB / 0.9824 GB, free: 10.4 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1413, allocations: 87.27 kB / 0.9825 GB, free: 10.32 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.142, allocations: 393.7 kB / 0.9829 GB, free: 9.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.1427, allocations: 450.8 kB / 0.9833 GB, free: 9.488 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.1431, allocations: 0.6979 MB / 0.984 GB, free: 8.789 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1434, allocations: 183.4 kB / 0.9842 GB, free: 8.613 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.1437, allocations: 382.9 kB / 0.9845 GB, free: 8.238 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1439, allocations: 191.4 kB / 0.9847 GB, free: 8.051 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.144, allocations: 24 kB / 0.9847 GB, free: 8.027 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.1443, allocations: 299.2 kB / 0.985 GB, free: 7.734 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.1444, allocations: 115.6 kB / 0.9851 GB, free: 7.621 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.1444, allocations: 123.7 kB / 0.9852 GB, free: 7.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1448, allocations: 446.5 kB / 0.9857 GB, free: 7.062 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1448, allocations: 0 / 0.9857 GB, free: 7.062 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1448, allocations: 0 / 0.9857 GB, free: 7.062 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1448, allocations: 0 / 0.9857 GB, free: 7.062 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.0005068/0.1454, allocations: 0.5264 MB / 0.9862 GB, free: 6.512 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1454, allocations: 8.625 kB / 0.9862 GB, free: 6.504 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.146, allocations: 220.2 kB / 0.9864 GB, free: 6.289 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1462, allocations: 240.7 kB / 0.9866 GB, free: 6.023 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1462, allocations: 24.44 kB / 0.9867 GB, free: 6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1463, allocations: 24 kB / 0.9867 GB, free: 5.977 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.1465, allocations: 216.6 kB / 0.9869 GB, free: 5.738 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1465, allocations: 0 / 0.9869 GB, free: 5.738 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1465, allocations: 12 kB / 0.9869 GB, free: 5.727 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1465, allocations: 4 kB / 0.9869 GB, free: 5.723 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.1466, allocations: 77.45 kB / 0.987 GB, free: 5.645 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.0006133/0.1472, allocations: 0.7803 MB / 0.9877 GB, free: 4.824 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1473, allocations: 121.2 kB / 0.9878 GB, free: 4.695 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.1473, allocations: 43.98 kB / 0.9879 GB, free: 4.648 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.1475, allocations: 55.78 kB / 0.9879 GB, free: 4.594 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1475, allocations: 38.55 kB / 0.988 GB, free: 4.547 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.1475, allocations: 0 / 0.988 GB, free: 4.547 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0002274/0.1477, allocations: 127.6 kB / 0.9881 GB, free: 4.418 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.1478, allocations: 59.34 kB / 0.9882 GB, free: 4.348 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1479, allocations: 236.9 kB / 0.9884 GB, free: 4.105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1479, allocations: 25.7 kB / 0.9884 GB, free: 4.074 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.148, allocations: 172.7 kB / 0.9886 GB, free: 3.902 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.148, allocations: 55.47 kB / 0.9886 GB, free: 3.848 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.1481, allocations: 49.64 kB / 0.9887 GB, free: 3.793 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003131/0.1484, allocations: 338.8 kB / 0.989 GB, free: 3.453 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.1484, allocations: 18.83 kB / 0.989 GB, free: 3.434 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.1485, allocations: 146.3 kB / 0.9892 GB, free: 3.258 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.537e-05/0.1486, allocations: 113.5 kB / 0.9893 GB, free: 3.125 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1486, allocations: 0 / 0.9893 GB, free: 3.125 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001295/0.1487, allocations: 138.5 kB / 0.9894 GB, free: 2.984 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1487, allocations: 4 kB / 0.9894 GB, free: 2.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1487, allocations: 3.984 kB / 0.9894 GB, free: 2.977 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1487, allocations: 4 kB / 0.9894 GB, free: 2.973 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1488, allocations: 35.98 kB / 0.9894 GB, free: 2.938 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1488, allocations: 7.938 kB / 0.9894 GB, free: 2.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.1489, allocations: 31.91 kB / 0.9895 GB, free: 2.898 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1489, allocations: 8 kB / 0.9895 GB, free: 2.891 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 6.668e-05/0.149, allocations: 116.7 kB / 0.9896 GB, free: 2.766 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.149, allocations: 27.91 kB / 0.9896 GB, free: 2.738 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1492, allocations: 121.8 kB / 0.9897 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1492, allocations: 0 / 0.9897 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1492, allocations: 0 / 0.9897 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1492, allocations: 0 / 0.9897 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1495, allocations: 0.5154 MB / 0.9902 GB, free: 2.043 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1495, allocations: 0 / 0.9902 GB, free: 2.043 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.1496, allocations: 31.98 kB / 0.9903 GB, free: 2.012 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1496, allocations: 4 kB / 0.9903 GB, free: 2.008 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1496, allocations: 8 kB / 0.9903 GB, free: 2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1496, allocations: 3.938 kB / 0.9903 GB, free: 1.996 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1496, allocations: 4 kB / 0.9903 GB, free: 1.992 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1498, allocations: 332.1 kB / 0.9906 GB, free: 1.621 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.1499, allocations: 35.75 kB / 0.9906 GB, free: 1.586 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1499, allocations: 7.984 kB / 0.9906 GB, free: 1.578 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.15, allocations: 8 kB / 0.9907 GB, free: 1.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.15, allocations: 19.92 kB / 0.9907 GB, free: 1.551 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.15, allocations: 7.984 kB / 0.9907 GB, free: 1.543 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.15, allocations: 78.78 kB / 0.9908 GB, free: 1.465 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.15, allocations: 0 / 0.9908 GB, free: 1.465 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000202/0.1502, allocations: 83.83 kB / 0.9908 GB, free: 1.383 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.000156/0.1504, allocations: 124.3 kB / 0.991 GB, free: 1.254 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1505, allocations: 80.84 kB / 0.991 GB, free: 1.172 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1505, allocations: 4 kB / 0.991 GB, free: 1.168 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.1506, allocations: 55.83 kB / 0.9911 GB, free: 1.113 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1509, allocations: 111 kB / 0.9912 GB, free: 1.008 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.1517, allocations: 0.5796 MB / 0.9918 GB, free: 384 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.1517, allocations: 96.3 kB / 0.9919 GB, free: 268 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.027e-05/0.1518, allocations: 46.27 kB / 0.9919 GB, free: 220 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.152, allocations: 125.2 kB / 0.992 GB, free: 92 kB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/0.152, allocations: 0 / 0.992 GB, free: 92 kB / 0.948 GB Notification: Performance of Templates: time 0.006304/0.1583, allocations: 4.846 MB / 0.9968 GB, free: 11.36 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 -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.349567456636578]