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.001217/0.001217, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001406/0.001406, allocations: 181 kB / 24.09 MB, free: 416 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.9107/0.9107, allocations: 177.2 MB / 204.5 MB, free: 5.504 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.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.9 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 2.114e-06/2.114e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.798e-05, allocations: 4.719 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1231/0.1231, allocations: 143.9 MB / 0.9281 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1248, allocations: 1.28 MB / 0.9293 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.125, allocations: 15.81 kB / 0.9293 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1253, allocations: 87.28 kB / 0.9294 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.126, allocations: 405.6 kB / 0.9298 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.1267, allocations: 450.8 kB / 0.9302 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000548/0.1272, allocations: 0.7253 MB / 0.9309 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.1275, allocations: 197.4 kB / 0.9311 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.1279, allocations: 386.9 kB / 0.9315 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1281, allocations: 207.4 kB / 0.9317 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1282, allocations: 24 kB / 0.9317 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.1285, allocations: 303.1 kB / 0.932 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1286, allocations: 127.6 kB / 0.9321 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.1287, allocations: 123.7 kB / 0.9322 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.1291, allocations: 442.6 kB / 0.9327 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1291, allocations: 0 / 0.9327 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1291, allocations: 0 / 0.9327 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1291, allocations: 0 / 0.9327 GB, free: 7.133 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.0005942/0.1297, allocations: 0.663 MB / 0.9333 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1298, allocations: 12.03 kB / 0.9333 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.1304, allocations: 216.1 kB / 0.9335 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.1308, allocations: 267.3 kB / 0.9338 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1308, allocations: 24.44 kB / 0.9338 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.1308, allocations: 24 kB / 0.9338 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.131, allocations: 223.9 kB / 0.934 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1311, allocations: 0 / 0.934 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1311, allocations: 8 kB / 0.9341 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1311, allocations: 4 kB / 0.9341 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.1312, allocations: 88.66 kB / 0.9341 GB, free: 5.531 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.0007395/0.1319, allocations: 1.088 MB / 0.9352 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.132, allocations: 86.95 kB / 0.9353 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.1321, allocations: 43.59 kB / 0.9353 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.1322, allocations: 55.88 kB / 0.9354 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1322, allocations: 37.7 kB / 0.9354 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.1322, allocations: 0 / 0.9354 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0002809/0.1325, allocations: 159.3 kB / 0.9356 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1325, allocations: 59.34 kB / 0.9356 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1327, allocations: 294.2 kB / 0.9359 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1327, allocations: 25.7 kB / 0.9359 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1328, allocations: 242.9 kB / 0.9362 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1328, allocations: 67.36 kB / 0.9362 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1329, allocations: 51.34 kB / 0.9363 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.133, allocations: 0.5079 MB / 0.9368 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.133, allocations: 19.97 kB / 0.9368 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.1331, allocations: 167.2 kB / 0.937 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.1332, allocations: 118 kB / 0.9371 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1332, allocations: 0 / 0.9371 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001607/0.1334, allocations: 168 kB / 0.9372 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1334, allocations: 4 kB / 0.9372 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1334, allocations: 4 kB / 0.9372 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1334, allocations: 0 / 0.9372 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1335, allocations: 44.08 kB / 0.9373 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1335, allocations: 7.938 kB / 0.9373 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.1336, allocations: 23.83 kB / 0.9373 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1336, allocations: 12 kB / 0.9373 GB, free: 2.066 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 7.791e-05/0.1337, allocations: 168.5 kB / 0.9375 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1337, allocations: 35.8 kB / 0.9375 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.1339, allocations: 139.6 kB / 0.9376 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1339, allocations: 4 kB / 0.9376 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1339, allocations: 0 / 0.9376 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1339, allocations: 0 / 0.9376 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.1343, allocations: 0.5267 MB / 0.9382 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1343, allocations: 0 / 0.9382 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.1344, allocations: 31.98 kB / 0.9382 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1344, allocations: 4 kB / 0.9382 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1344, allocations: 4 kB / 0.9382 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1344, allocations: 7.938 kB / 0.9382 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1344, allocations: 12.2 kB / 0.9382 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1347, allocations: 359.5 kB / 0.9386 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1347, allocations: 43.77 kB / 0.9386 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1347, allocations: 8 kB / 0.9386 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.1348, allocations: 4 kB / 0.9386 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1348, allocations: 19.91 kB / 0.9386 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1348, allocations: 4 kB / 0.9386 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.409e-05/0.1349, allocations: 202.9 kB / 0.9388 GB, free: 392 kB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1349, allocations: 0 / 0.9388 GB, free: 392 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002409/0.1352, allocations: 99.77 kB / 0.9389 GB, free: 292 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.0001815/0.1354, allocations: 135.1 kB / 0.9391 GB, free: 148 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1355, allocations: 95.5 kB / 0.9391 GB, free: 48 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.1355, allocations: 0 / 0.9391 GB, free: 48 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.1355, allocations: 56.14 kB / 0.9392 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1359, allocations: 124.8 kB / 0.9393 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.1368, allocations: 0.5928 MB / 0.9399 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.103e-05/0.1369, allocations: 96.3 kB / 0.94 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.996e-05/0.137, allocations: 42.27 kB / 0.94 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.1371, allocations: 158.1 kB / 0.9402 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of SimCode: time 8.91e-07/0.1371, allocations: 0 / 0.9402 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of Templates: time 0.007294/0.1444, allocations: 5.12 MB / 0.9452 GB, free: 9.93 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.07634810404852]