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.001024/0.001024, allocations: 91.58 kB / 20.45 MB, free: 4.117 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.001378/0.001378, allocations: 165 kB / 23.82 MB, free: 0.75 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.9749/0.9749, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.911/1.911, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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 2.595e-06/2.595e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.974e-05/4.233e-05, allocations: 8.156 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1616/0.1616, allocations: 146.6 MB / 0.9303 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.1644, allocations: 1.286 MB / 0.9315 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.1648, allocations: 15.88 kB / 0.9315 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.1653, allocations: 91.27 kB / 0.9316 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.1663, allocations: 393.7 kB / 0.932 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1676, allocations: 462.8 kB / 0.9324 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009328/0.1685, allocations: 0.7214 MB / 0.9331 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.1689, allocations: 193.4 kB / 0.9333 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006976/0.1696, allocations: 390.9 kB / 0.9337 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.17, allocations: 211.4 kB / 0.9339 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.17, allocations: 20 kB / 0.9339 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.1707, allocations: 299.2 kB / 0.9342 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1709, allocations: 123.6 kB / 0.9343 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.171, allocations: 123.7 kB / 0.9344 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.1717, allocations: 446.5 kB / 0.9349 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1717, allocations: 3.938 kB / 0.9349 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1717, allocations: 0 / 0.9349 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1717, allocations: 0 / 0.9349 GB, free: 4.703 MB / 0.8855 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.0008478/0.1725, allocations: 0.6592 MB / 0.9355 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1726, allocations: 8.031 kB / 0.9355 GB, free: 4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.1735, allocations: 216.1 kB / 0.9357 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1739, allocations: 283.3 kB / 0.936 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1739, allocations: 20.44 kB / 0.936 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1739, allocations: 20 kB / 0.936 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1743, allocations: 235.9 kB / 0.9363 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1743, allocations: 0 / 0.9363 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1743, allocations: 15.98 kB / 0.9363 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1744, allocations: 4 kB / 0.9363 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1745, allocations: 89 kB / 0.9364 GB, free: 3.086 MB / 0.8855 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.001108/0.1756, allocations: 1.138 MB / 0.9375 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1758, allocations: 101.3 kB / 0.9376 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.1759, allocations: 43.66 kB / 0.9376 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.1762, allocations: 55.89 kB / 0.9377 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1762, allocations: 37.7 kB / 0.9377 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 2.465e-06/0.1762, allocations: 0 / 0.9377 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0004492/0.1766, allocations: 181.2 kB / 0.9379 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1767, allocations: 51.41 kB / 0.9379 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1769, allocations: 302.3 kB / 0.9382 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1769, allocations: 25.7 kB / 0.9382 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.177, allocations: 235 kB / 0.9385 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.1771, allocations: 67.42 kB / 0.9385 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.1771, allocations: 55.36 kB / 0.9386 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.1773, allocations: 0.504 MB / 0.9391 GB, free: 168 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.1773, allocations: 27.98 kB / 0.9391 GB, free: 140 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1775, allocations: 173.2 kB / 0.9393 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1776, allocations: 140.9 kB / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1776, allocations: 3.938 kB / 0.9394 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002517/0.1779, allocations: 165.3 kB / 0.9396 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1779, allocations: 12.09 kB / 0.9396 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1779, allocations: 0 / 0.9396 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1779, allocations: 4 kB / 0.9396 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1781, allocations: 43.92 kB / 0.9396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1781, allocations: 4 kB / 0.9396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1782, allocations: 15.88 kB / 0.9396 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1782, allocations: 12 kB / 0.9396 GB, free: 15.5 MB / 0.9011 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.771e-05/0.1783, allocations: 176.4 kB / 0.9398 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.1783, allocations: 27.86 kB / 0.9398 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1786, allocations: 149.9 kB / 0.94 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1786, allocations: 4 kB / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1786, allocations: 0 / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1786, allocations: 0 / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.1792, allocations: 0.5807 MB / 0.9406 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1792, allocations: 8 kB / 0.9406 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1793, allocations: 32.14 kB / 0.9406 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1793, allocations: 8 kB / 0.9406 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1794, allocations: 8 kB / 0.9406 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1794, allocations: 0 / 0.9406 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.1794, allocations: 7.938 kB / 0.9406 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1797, allocations: 377.3 kB / 0.941 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1798, allocations: 35.78 kB / 0.941 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1798, allocations: 8 kB / 0.941 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1799, allocations: 11.98 kB / 0.941 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.18, allocations: 11.92 kB / 0.941 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.18, allocations: 15.97 kB / 0.9411 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001269/0.1801, allocations: 211 kB / 0.9413 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1801, allocations: 0 / 0.9413 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003816/0.1805, allocations: 91.78 kB / 0.9413 GB, free: 13.62 MB / 0.9011 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.0002492/0.1807, allocations: 127.2 kB / 0.9415 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.181, allocations: 107.6 kB / 0.9416 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.181, allocations: 4.062 kB / 0.9416 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.1811, allocations: 60.2 kB / 0.9416 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1817, allocations: 130.1 kB / 0.9418 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1828, allocations: 0.5902 MB / 0.9423 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.312e-05/0.1829, allocations: 96.3 kB / 0.9424 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.183, allocations: 54.23 kB / 0.9425 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.1831, allocations: 24.5 kB / 0.9425 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of SimCode: time 1.162e-06/0.1831, allocations: 0 / 0.9425 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.008667/0.1918, allocations: 5.048 MB / 0.9474 GB, free: 7.461 MB / 0.9011 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.615416096989065]