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.001047/0.001047, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001037/0.001037, allocations: 167.8 kB / 24.87 MB, free: 9.277 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.9958/0.9958, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.879/1.879, allocations: 359 MB / 0.6063 GB, free: 10.89 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 1.303e-06/1.303e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.695e-05, allocations: 8.062 kB / 0.7883 GB, free: 12.19 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1355/0.1355, allocations: 143.9 MB / 0.9288 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1375, allocations: 1.282 MB / 0.9301 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.1378, allocations: 15.88 kB / 0.9301 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1381, allocations: 95.2 kB / 0.9302 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007539/0.1388, allocations: 393.8 kB / 0.9305 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1399, allocations: 458.8 kB / 0.931 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.1407, allocations: 0.7214 MB / 0.9317 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.141, allocations: 193.4 kB / 0.9319 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.1416, allocations: 394.9 kB / 0.9323 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1419, allocations: 203.4 kB / 0.9324 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.1419, allocations: 24 kB / 0.9325 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.1424, allocations: 303.1 kB / 0.9328 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1425, allocations: 123.6 kB / 0.9329 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1427, allocations: 119.8 kB / 0.933 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.1432, allocations: 450.5 kB / 0.9334 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1432, allocations: 0 / 0.9334 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.41e-07/0.1432, allocations: 0 / 0.9334 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1433, allocations: 4 kB / 0.9334 GB, free: 7.125 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.0007023/0.144, allocations: 0.6553 MB / 0.9341 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.144, allocations: 12.03 kB / 0.9341 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.1449, allocations: 212.1 kB / 0.9343 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1452, allocations: 271.3 kB / 0.9345 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1452, allocations: 28.38 kB / 0.9346 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1453, allocations: 27.98 kB / 0.9346 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.1456, allocations: 223.9 kB / 0.9348 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1456, allocations: 0 / 0.9348 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1456, allocations: 8 kB / 0.9348 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1456, allocations: 4 kB / 0.9348 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1457, allocations: 88.72 kB / 0.9349 GB, free: 5.527 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.0009491/0.1467, allocations: 1.088 MB / 0.936 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1468, allocations: 75.03 kB / 0.936 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.1469, allocations: 43.59 kB / 0.9361 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.1471, allocations: 59.94 kB / 0.9361 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1471, allocations: 33.39 kB / 0.9362 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1471, allocations: 0 / 0.9362 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0003544/0.1475, allocations: 167.4 kB / 0.9363 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1475, allocations: 51.41 kB / 0.9364 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1477, allocations: 298.2 kB / 0.9367 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1477, allocations: 29.69 kB / 0.9367 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1478, allocations: 238.9 kB / 0.9369 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.1479, allocations: 63.42 kB / 0.937 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.1479, allocations: 55.34 kB / 0.937 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1481, allocations: 0.5079 MB / 0.9375 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.1481, allocations: 15.98 kB / 0.9375 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1485, allocations: 169.4 kB / 0.9377 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1486, allocations: 124.4 kB / 0.9378 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1486, allocations: 0 / 0.9378 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002161/0.1488, allocations: 161.5 kB / 0.938 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1488, allocations: 4 kB / 0.938 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1488, allocations: 0 / 0.938 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1489, allocations: 7.984 kB / 0.938 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.149, allocations: 39.92 kB / 0.938 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.149, allocations: 7.984 kB / 0.938 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1491, allocations: 23.84 kB / 0.9381 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1491, allocations: 8 kB / 0.9381 GB, free: 2.078 MB / 0.8855 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.666e-05/0.1492, allocations: 176.5 kB / 0.9382 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.1493, allocations: 35.73 kB / 0.9383 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.1495, allocations: 142 kB / 0.9384 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1495, allocations: 4 kB / 0.9384 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1495, allocations: 0 / 0.9384 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1495, allocations: 3.984 kB / 0.9384 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.15, allocations: 0.5229 MB / 0.9389 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.15, allocations: 4.031 kB / 0.9389 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1502, allocations: 35.92 kB / 0.939 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1502, allocations: 0 / 0.939 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1502, allocations: 8 kB / 0.939 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1502, allocations: 4 kB / 0.939 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1502, allocations: 0 / 0.939 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1505, allocations: 365.3 kB / 0.9393 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1505, allocations: 35.78 kB / 0.9393 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1506, allocations: 4 kB / 0.9394 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1507, allocations: 12.03 kB / 0.9394 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1507, allocations: 27.84 kB / 0.9394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1507, allocations: 4 kB / 0.9394 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001018/0.1508, allocations: 199 kB / 0.9396 GB, free: 396 kB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.1508, allocations: 4 kB / 0.9396 GB, free: 392 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003439/0.1512, allocations: 91.78 kB / 0.9397 GB, free: 300 kB / 0.8855 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.0001936/0.1514, allocations: 131.1 kB / 0.9398 GB, free: 160 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1515, allocations: 99.44 kB / 0.9399 GB, free: 56 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1515, allocations: 4 kB / 0.9399 GB, free: 52 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.1516, allocations: 43.59 kB / 0.9399 GB, free: 4 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.1522, allocations: 124.4 kB / 0.9401 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1532, allocations: 0.602 MB / 0.9406 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.5e-05/0.1533, allocations: 96.3 kB / 0.9407 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.1534, allocations: 30.28 kB / 0.9408 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.1536, allocations: 166.1 kB / 0.9409 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.1536, allocations: 3.938 kB / 0.9409 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of Templates: time 0.008797/0.1624, allocations: 5.191 MB / 0.946 GB, free: 9.875 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.547665164805949]