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.001323/0.001323, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000975/0.000975, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9284/0.9284, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.495/2.495, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.144e-06/2.144e-06, allocations: 0 / 0.8898 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.604e-05, allocations: 5.688 kB / 0.8898 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1381/0.1381, allocations: 143.9 MB / 1.03 GB, free: 9.246 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.141, allocations: 1.252 MB / 1.031 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.1415, allocations: 19.81 kB / 1.032 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.1419, allocations: 83.27 kB / 1.032 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.143, allocations: 397.7 kB / 1.032 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.144, allocations: 442.8 kB / 1.032 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000908/0.1449, allocations: 0.694 MB / 1.033 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.1453, allocations: 193.4 kB / 1.033 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.1459, allocations: 378.9 kB / 1.034 GB, free: 5.801 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1462, allocations: 203.4 kB / 1.034 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1462, allocations: 24 kB / 1.034 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005716/0.1468, allocations: 299.2 kB / 1.034 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1469, allocations: 115.6 kB / 1.034 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.147, allocations: 123.7 kB / 1.034 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.1476, allocations: 442.5 kB / 1.035 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1476, allocations: 4 kB / 1.035 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1476, allocations: 0 / 1.035 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1476, allocations: 0 / 1.035 GB, free: 4.613 MB / 0.9948 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.0006793/0.1483, allocations: 0.6588 MB / 1.035 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1484, allocations: 8.625 kB / 1.035 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.149, allocations: 216.1 kB / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1494, allocations: 263.4 kB / 1.036 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1494, allocations: 24.44 kB / 1.036 GB, free: 3.391 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.1494, allocations: 20 kB / 1.036 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1497, allocations: 223.9 kB / 1.036 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1497, allocations: 3.938 kB / 1.036 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1497, allocations: 8 kB / 1.036 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1497, allocations: 8 kB / 1.036 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.1498, allocations: 80.97 kB / 1.036 GB, free: 3.023 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.0009299/0.1508, allocations: 1.08 MB / 1.037 GB, free: 1.895 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1509, allocations: 86.95 kB / 1.037 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1512, allocations: 39.61 kB / 1.037 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.1514, allocations: 51.95 kB / 1.037 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1514, allocations: 33.39 kB / 1.037 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 3.056e-06/0.1514, allocations: 0 / 1.037 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0003353/0.1518, allocations: 167.6 kB / 1.038 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1518, allocations: 51.41 kB / 1.038 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.152, allocations: 304.1 kB / 1.038 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.152, allocations: 25.7 kB / 1.038 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1521, allocations: 242.9 kB / 1.038 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1521, allocations: 67.42 kB / 1.038 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.1522, allocations: 51.34 kB / 1.038 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1523, allocations: 0.5117 MB / 1.039 GB, free: 196 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1524, allocations: 19.84 kB / 1.039 GB, free: 176 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1525, allocations: 163.2 kB / 1.039 GB, free: 15.97 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1526, allocations: 116.8 kB / 1.039 GB, free: 15.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1526, allocations: 8 kB / 1.039 GB, free: 15.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001943/0.1528, allocations: 169.2 kB / 1.039 GB, free: 15.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1528, allocations: 4 kB / 1.039 GB, free: 15.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1528, allocations: 4 kB / 1.039 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1528, allocations: 0 / 1.039 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1529, allocations: 47.91 kB / 1.039 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.153, allocations: 0 / 1.039 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.153, allocations: 23.84 kB / 1.039 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1531, allocations: 12.09 kB / 1.039 GB, free: 15.56 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 0.0001095/0.1532, allocations: 168.5 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.1532, allocations: 31.78 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.1534, allocations: 131.7 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1534, allocations: 4 kB / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1534, allocations: 0 / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1534, allocations: 3.984 kB / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.154, allocations: 0.5305 MB / 1.04 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.154, allocations: 0 / 1.04 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1541, allocations: 31.98 kB / 1.04 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1541, allocations: 7.938 kB / 1.04 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1541, allocations: 4 kB / 1.04 GB, free: 14.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1541, allocations: 4 kB / 1.04 GB, free: 14.58 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1541, allocations: 0 / 1.04 GB, free: 14.58 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1544, allocations: 363.4 kB / 1.041 GB, free: 14.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.1545, allocations: 40.05 kB / 1.041 GB, free: 14.14 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1545, allocations: 8 kB / 1.041 GB, free: 14.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.1546, allocations: 15.92 kB / 1.041 GB, free: 14.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1546, allocations: 19.92 kB / 1.041 GB, free: 14.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.1546, allocations: 4 kB / 1.041 GB, free: 14.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1547, allocations: 201.1 kB / 1.041 GB, free: 13.89 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1547, allocations: 0 / 1.041 GB, free: 13.89 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003158/0.155, allocations: 87.83 kB / 1.041 GB, free: 13.81 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.0002345/0.1553, allocations: 135.1 kB / 1.041 GB, free: 13.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.1554, allocations: 95.5 kB / 1.041 GB, free: 13.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1554, allocations: 0 / 1.041 GB, free: 13.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.1555, allocations: 55.53 kB / 1.041 GB, free: 13.51 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1559, allocations: 110.7 kB / 1.041 GB, free: 13.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.157, allocations: 0.6059 MB / 1.042 GB, free: 12.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.478e-05/0.157, allocations: 92.3 kB / 1.042 GB, free: 12.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.1571, allocations: 34.27 kB / 1.042 GB, free: 12.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.1573, allocations: 162.1 kB / 1.042 GB, free: 12.43 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/0.1573, allocations: 0 / 1.042 GB, free: 12.43 MB / 1.01 GB Notification: Performance of Templates: time 0.007984/0.1653, allocations: 4.933 MB / 1.047 GB, free: 7.637 MB / 1.01 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: 6.202887043822557]