Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001443/0.001443, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009778/0.0009778, allocations: 169 kB / 24.28 MB, free: 280 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.948/0.948, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.791/1.791, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.11e-05, allocations: 5.406 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1635/0.1635, allocations: 163.7 MB / 0.947 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.1661, allocations: 1.587 MB / 0.9485 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003415/0.1665, allocations: 19.81 kB / 0.9485 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.167, allocations: 158.8 kB / 0.9487 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1684, allocations: 0.7227 MB / 0.9494 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1698, allocations: 0.654 MB / 0.95 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.1705, allocations: 0.7253 MB / 0.9507 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.1708, allocations: 193.2 kB / 0.9509 GB, free: 4.492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.1715, allocations: 462.5 kB / 0.9514 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.1718, allocations: 203.4 kB / 0.9516 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1719, allocations: 24 kB / 0.9516 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1729, allocations: 0.732 MB / 0.9523 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.173, allocations: 123.6 kB / 0.9524 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1731, allocations: 115.8 kB / 0.9525 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008243/0.1739, allocations: 0.6581 MB / 0.9532 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.174, allocations: 0 / 0.9532 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.332e-06/0.174, allocations: 0 / 0.9532 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.174, allocations: 0 / 0.9532 GB, free: 2.188 MB / 0.9011 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.0007937/0.1748, allocations: 0.6857 MB / 0.9538 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1748, allocations: 12.03 kB / 0.9539 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.1756, allocations: 211.2 kB / 0.9541 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.176, allocations: 283.3 kB / 0.9543 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.176, allocations: 16.5 kB / 0.9543 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.176, allocations: 24 kB / 0.9544 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.1763, allocations: 243.8 kB / 0.9546 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1764, allocations: 8 kB / 0.9546 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1764, allocations: 4 kB / 0.9546 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1764, allocations: 8 kB / 0.9546 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1766, allocations: 92.98 kB / 0.9547 GB, free: 0.5312 MB / 0.9011 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.001021/0.1776, allocations: 1.138 MB / 0.9558 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1778, allocations: 95.03 kB / 0.9559 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1778, allocations: 35.67 kB / 0.9559 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.1781, allocations: 67.94 kB / 0.956 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1781, allocations: 37.7 kB / 0.956 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.1781, allocations: 0 / 0.956 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0004178/0.1785, allocations: 191.4 kB / 0.9562 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1785, allocations: 51.41 kB / 0.9563 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1788, allocations: 302.3 kB / 0.9566 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1788, allocations: 25.7 kB / 0.9566 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1789, allocations: 235 kB / 0.9568 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.179, allocations: 67.42 kB / 0.9569 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.1791, allocations: 51.36 kB / 0.9569 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1792, allocations: 0.5079 MB / 0.9574 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.1793, allocations: 23.98 kB / 0.9574 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1794, allocations: 182.2 kB / 0.9576 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1795, allocations: 132.8 kB / 0.9577 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1795, allocations: 3.938 kB / 0.9577 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002131/0.1797, allocations: 161.4 kB / 0.9579 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1798, allocations: 11.94 kB / 0.9579 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1798, allocations: 144 / 0.9579 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1798, allocations: 4 kB / 0.9579 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1799, allocations: 52 kB / 0.958 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1799, allocations: 4 kB / 0.958 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.18, allocations: 23.83 kB / 0.958 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.18, allocations: 12 kB / 0.958 GB, free: 12.93 MB / 0.9167 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.485e-05/0.1801, allocations: 176.5 kB / 0.9582 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1802, allocations: 23.86 kB / 0.9582 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1804, allocations: 147.6 kB / 0.9583 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1804, allocations: 4 kB / 0.9583 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1804, allocations: 0 / 0.9583 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1804, allocations: 0 / 0.9583 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.1811, allocations: 0.5885 MB / 0.9589 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1811, allocations: 4 kB / 0.9589 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1812, allocations: 31.92 kB / 0.9589 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1812, allocations: 4 kB / 0.959 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1812, allocations: 8 kB / 0.959 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1812, allocations: 224 / 0.959 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1812, allocations: 8 kB / 0.959 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1816, allocations: 379.6 kB / 0.9593 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1816, allocations: 31.84 kB / 0.9594 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1816, allocations: 8 kB / 0.9594 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.1817, allocations: 7.984 kB / 0.9594 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.1818, allocations: 23.86 kB / 0.9594 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1818, allocations: 4 kB / 0.9594 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000109/0.1819, allocations: 211 kB / 0.9596 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1819, allocations: 0 / 0.9596 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002971/0.1822, allocations: 95.81 kB / 0.9597 GB, free: 11.06 MB / 0.9167 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.0002469/0.1824, allocations: 155.1 kB / 0.9598 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1826, allocations: 103.5 kB / 0.9599 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1826, allocations: 0 / 0.9599 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.1827, allocations: 59.98 kB / 0.96 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.1832, allocations: 123.1 kB / 0.9601 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1843, allocations: 0.6019 MB / 0.9607 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.1844, allocations: 100.3 kB / 0.9608 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.1845, allocations: 54.25 kB / 0.9609 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.1846, allocations: 20.5 kB / 0.9609 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of SimCode: time 1.242e-06/0.1846, allocations: 0 / 0.9609 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.007684/0.1923, allocations: 4.918 MB / 0.9657 GB, free: 5.004 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.335105323931202]