Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001433/0.001433, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00168/0.00168, allocations: 170.2 kB / 24.87 MB, free: 9.199 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.9515/0.9515, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.837/1.837, allocations: 359 MB / 0.6063 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.704e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1283/0.1284, allocations: 143.8 MB / 0.9288 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1299, allocations: 1.26 MB / 0.93 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1301, allocations: 19.81 kB / 0.93 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1304, allocations: 83.28 kB / 0.9301 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.131, allocations: 393.8 kB / 0.9305 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.1317, allocations: 462.7 kB / 0.9309 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.1322, allocations: 0.701 MB / 0.9316 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.1324, allocations: 189.4 kB / 0.9318 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.1328, allocations: 375 kB / 0.9322 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.133, allocations: 203.4 kB / 0.9323 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.1331, allocations: 24 kB / 0.9324 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.1334, allocations: 299.1 kB / 0.9327 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1335, allocations: 119.7 kB / 0.9328 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.1336, allocations: 119.7 kB / 0.9329 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.134, allocations: 434.6 kB / 0.9333 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.134, allocations: 3.938 kB / 0.9333 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.222e-06/0.134, allocations: 0 / 0.9333 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.134, allocations: 0 / 0.9333 GB, free: 7.273 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006089/0.1346, allocations: 0.6514 MB / 0.9339 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1347, allocations: 8.031 kB / 0.9339 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.1353, allocations: 216.1 kB / 0.9342 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1356, allocations: 263.4 kB / 0.9344 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1356, allocations: 20.88 kB / 0.9344 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1357, allocations: 16.38 kB / 0.9344 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1359, allocations: 219.1 kB / 0.9346 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1359, allocations: 3.938 kB / 0.9347 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.1359, allocations: 12 kB / 0.9347 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1359, allocations: 7.984 kB / 0.9347 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.136, allocations: 75.81 kB / 0.9347 GB, free: 5.707 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.0007839/0.1368, allocations: 1.082 MB / 0.9358 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1369, allocations: 79.02 kB / 0.9359 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.137, allocations: 35.95 kB / 0.9359 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.1371, allocations: 47.94 kB / 0.936 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1372, allocations: 49.33 kB / 0.936 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1372, allocations: 0 / 0.936 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0002827/0.1374, allocations: 147.5 kB / 0.9361 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1375, allocations: 55.41 kB / 0.9362 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1376, allocations: 292.2 kB / 0.9365 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1377, allocations: 29.7 kB / 0.9365 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1378, allocations: 234.9 kB / 0.9367 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.47e-05/0.1378, allocations: 59.47 kB / 0.9368 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.1379, allocations: 55.34 kB / 0.9368 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.138, allocations: 0.5079 MB / 0.9373 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.1381, allocations: 19.92 kB / 0.9374 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1382, allocations: 164.9 kB / 0.9375 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1383, allocations: 113.9 kB / 0.9376 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1383, allocations: 0 / 0.9376 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001742/0.1384, allocations: 149.4 kB / 0.9378 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1385, allocations: 8.094 kB / 0.9378 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1385, allocations: 4 kB / 0.9378 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.1385, allocations: 0 / 0.9378 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1386, allocations: 39.98 kB / 0.9378 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.1386, allocations: 3.938 kB / 0.9378 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.1387, allocations: 15.89 kB / 0.9378 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1387, allocations: 15.98 kB / 0.9378 GB, free: 2.316 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 (22): * Single equations (assignments): 22 * 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.675e-05/0.1388, allocations: 168.5 kB / 0.938 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1388, allocations: 31.81 kB / 0.938 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.139, allocations: 127.4 kB / 0.9382 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.139, allocations: 0 / 0.9382 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.139, allocations: 4 kB / 0.9382 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.139, allocations: 3.984 kB / 0.9382 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1395, allocations: 0.5072 MB / 0.9387 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1395, allocations: 0 / 0.9387 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.1396, allocations: 32.14 kB / 0.9387 GB, free: 1.371 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1396, allocations: 8 kB / 0.9387 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1396, allocations: 4 kB / 0.9387 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1396, allocations: 0 / 0.9387 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1396, allocations: 8 kB / 0.9387 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.1398, allocations: 352.3 kB / 0.939 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.1399, allocations: 39.83 kB / 0.9391 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1399, allocations: 4 kB / 0.9391 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.14, allocations: 11.98 kB / 0.9391 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.14, allocations: 23.86 kB / 0.9391 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.14, allocations: 8.031 kB / 0.9391 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.293e-05/0.1401, allocations: 193.1 kB / 0.9393 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1401, allocations: 0 / 0.9393 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002517/0.1404, allocations: 87.83 kB / 0.9394 GB, free: 0.6016 MB / 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 (15): * Single equations (assignments): 15 * 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.0002271/0.1406, allocations: 131.1 kB / 0.9395 GB, free: 476 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1408, allocations: 95.56 kB / 0.9396 GB, free: 376 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1408, allocations: 0 / 0.9396 GB, free: 376 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.1408, allocations: 51.53 kB / 0.9397 GB, free: 320 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.1413, allocations: 123.6 kB / 0.9398 GB, free: 204 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.1422, allocations: 0.5788 MB / 0.9403 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.697e-05/0.1423, allocations: 92.3 kB / 0.9404 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.883e-05/0.1424, allocations: 34.22 kB / 0.9405 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1426, allocations: 158.1 kB / 0.9406 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of SimCode: time 8.61e-07/0.1426, allocations: 0 / 0.9406 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of Templates: time 0.007326/0.1499, allocations: 5.118 MB / 0.9456 GB, free: 10.29 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.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.466059939004481]