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.001033/0.001033, allocations: 83.59 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.001012/0.001012, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9845/0.9845, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.889/1.889, allocations: 359 MB / 0.6052 GB, free: 11 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.222e-06/1.222e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.637e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1374/0.1374, allocations: 146.6 MB / 0.9303 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1395, allocations: 1.282 MB / 0.9315 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1397, allocations: 19.81 kB / 0.9315 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.14, allocations: 79.33 kB / 0.9316 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.1409, allocations: 401.7 kB / 0.932 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.1417, allocations: 466.7 kB / 0.9324 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006661/0.1424, allocations: 0.7136 MB / 0.9331 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.1427, allocations: 189.4 kB / 0.9333 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000563/0.1433, allocations: 390.9 kB / 0.9337 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1435, allocations: 207.3 kB / 0.9339 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.1436, allocations: 27.94 kB / 0.9339 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.1441, allocations: 307.2 kB / 0.9342 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1442, allocations: 119.6 kB / 0.9343 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1443, allocations: 127.6 kB / 0.9344 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.1449, allocations: 442.6 kB / 0.9349 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1449, allocations: 0 / 0.9349 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1449, allocations: 8 kB / 0.9349 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1449, allocations: 0 / 0.9349 GB, free: 4.652 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.0007521/0.1457, allocations: 0.6553 MB / 0.9355 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1457, allocations: 12.02 kB / 0.9355 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.1466, allocations: 216 kB / 0.9357 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.147, allocations: 275.9 kB / 0.936 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.147, allocations: 20.44 kB / 0.936 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.1471, allocations: 24 kB / 0.936 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1474, allocations: 239.9 kB / 0.9363 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1474, allocations: 0 / 0.9363 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1475, allocations: 8 kB / 0.9363 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1475, allocations: 8 kB / 0.9363 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1477, allocations: 89 kB / 0.9364 GB, free: 3.039 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.001111/0.1488, allocations: 1.146 MB / 0.9375 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1489, allocations: 98.91 kB / 0.9376 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.149, allocations: 45.39 kB / 0.9376 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.1493, allocations: 51.94 kB / 0.9377 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1493, allocations: 45.64 kB / 0.9377 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 2.195e-06/0.1493, allocations: 0 / 0.9377 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0004288/0.1497, allocations: 173.2 kB / 0.9379 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.1499, allocations: 55.41 kB / 0.9379 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1501, allocations: 294.3 kB / 0.9382 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1501, allocations: 37.7 kB / 0.9383 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1503, allocations: 235 kB / 0.9385 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1503, allocations: 67.42 kB / 0.9385 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.1504, allocations: 47.36 kB / 0.9386 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1505, allocations: 0.5079 MB / 0.9391 GB, free: 112 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.1506, allocations: 23.98 kB / 0.9391 GB, free: 88 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1507, allocations: 175.1 kB / 0.9393 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1509, allocations: 129.5 kB / 0.9394 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1509, allocations: 11.94 kB / 0.9394 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002549/0.1511, allocations: 165.4 kB / 0.9396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1511, allocations: 6.344 kB / 0.9396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1511, allocations: 4 kB / 0.9396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1512, allocations: 0 / 0.9396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1513, allocations: 47.92 kB / 0.9396 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1513, allocations: 0 / 0.9396 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1514, allocations: 23.83 kB / 0.9396 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1514, allocations: 12 kB / 0.9397 GB, free: 15.45 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.831e-05/0.1515, allocations: 176.5 kB / 0.9398 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.1516, allocations: 31.86 kB / 0.9399 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1518, allocations: 143.7 kB / 0.94 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1518, allocations: 0 / 0.94 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1518, allocations: 3.938 kB / 0.94 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1518, allocations: 0 / 0.94 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.1525, allocations: 0.5887 MB / 0.9406 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1525, allocations: 0 / 0.9406 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1526, allocations: 35.92 kB / 0.9406 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1526, allocations: 0 / 0.9406 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1527, allocations: 11.98 kB / 0.9406 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1527, allocations: 4 kB / 0.9406 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1527, allocations: 3.938 kB / 0.9406 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.153, allocations: 369.4 kB / 0.941 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.1531, allocations: 39.72 kB / 0.941 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1531, allocations: 16.14 kB / 0.941 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1532, allocations: 4 kB / 0.941 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1533, allocations: 23.86 kB / 0.9411 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1533, allocations: 11.98 kB / 0.9411 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000127/0.1534, allocations: 207 kB / 0.9413 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1534, allocations: 0 / 0.9413 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003738/0.1538, allocations: 91.78 kB / 0.9414 GB, free: 13.57 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.0002519/0.154, allocations: 143.1 kB / 0.9415 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1543, allocations: 101.7 kB / 0.9416 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1543, allocations: 0 / 0.9416 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.1543, allocations: 55.55 kB / 0.9416 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.155, allocations: 127.9 kB / 0.9418 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1562, allocations: 0.5902 MB / 0.9423 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.1562, allocations: 100.2 kB / 0.9424 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.1564, allocations: 50.25 kB / 0.9425 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.1564, allocations: 24.5 kB / 0.9425 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of SimCode: time 7.62e-07/0.1564, allocations: 4 kB / 0.9425 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.008318/0.1648, allocations: 4.643 MB / 0.947 GB, free: 7.809 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.601042912807316]