Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009992/0.0009992, allocations: 81.95 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.001252/0.001252, allocations: 164.7 kB / 24.87 MB, free: 8.891 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.944/1.944, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.283e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1258/0.1258, allocations: 143.9 MB / 0.9533 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1279, allocations: 1.282 MB / 0.9546 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.1281, allocations: 19.81 kB / 0.9546 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1284, allocations: 83.33 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007976/0.1292, allocations: 397.6 kB / 0.955 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.1301, allocations: 454.8 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008294/0.1309, allocations: 0.7136 MB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.1313, allocations: 201.4 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007102/0.132, allocations: 378.9 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1323, allocations: 207.3 kB / 0.9569 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1323, allocations: 24 kB / 0.9569 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.1329, allocations: 311.1 kB / 0.9572 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.133, allocations: 111.7 kB / 0.9573 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1331, allocations: 123.7 kB / 0.9575 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.1337, allocations: 446.6 kB / 0.9579 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1337, allocations: 0 / 0.9579 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1337, allocations: 0 / 0.9579 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1337, allocations: 0 / 0.9579 GB, free: 12.36 MB / 0.9167 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.0007459/0.1345, allocations: 0.6708 MB / 0.9585 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1345, allocations: 8.031 kB / 0.9585 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007216/0.1352, allocations: 212.1 kB / 0.9588 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1355, allocations: 271.4 kB / 0.959 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1355, allocations: 24.38 kB / 0.959 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1356, allocations: 24 kB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1358, allocations: 215.9 kB / 0.9593 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1358, allocations: 8 kB / 0.9593 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1359, allocations: 11.98 kB / 0.9593 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1359, allocations: 8 kB / 0.9593 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.136, allocations: 72.69 kB / 0.9594 GB, free: 10.77 MB / 0.9167 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.0008815/0.1368, allocations: 1.092 MB / 0.9604 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.137, allocations: 93.45 kB / 0.9605 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.137, allocations: 39.61 kB / 0.9606 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.1372, allocations: 47.94 kB / 0.9606 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1372, allocations: 37.39 kB / 0.9606 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1372, allocations: 0 / 0.9606 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0004424/0.1377, allocations: 161.6 kB / 0.9608 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1377, allocations: 63.34 kB / 0.9608 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1379, allocations: 294.2 kB / 0.9611 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1379, allocations: 33.7 kB / 0.9612 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.138, allocations: 234.9 kB / 0.9614 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.138, allocations: 67.42 kB / 0.9614 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.1381, allocations: 47.34 kB / 0.9615 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1382, allocations: 0.5156 MB / 0.962 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.1383, allocations: 19.98 kB / 0.962 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.554e-05/0.1383, allocations: 159.2 kB / 0.9622 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1385, allocations: 118.1 kB / 0.9623 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1385, allocations: 4 kB / 0.9623 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001856/0.1386, allocations: 171.4 kB / 0.9624 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1387, allocations: 8 kB / 0.9625 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1387, allocations: 4 kB / 0.9625 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1387, allocations: 4 kB / 0.9625 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1388, allocations: 39.97 kB / 0.9625 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1388, allocations: 7.938 kB / 0.9625 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.1389, allocations: 19.98 kB / 0.9625 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1389, allocations: 8 kB / 0.9625 GB, free: 7.301 MB / 0.9167 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.299e-05/0.139, allocations: 164.6 kB / 0.9627 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.139, allocations: 31.8 kB / 0.9627 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1392, allocations: 137.1 kB / 0.9629 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1392, allocations: 0 / 0.9629 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1392, allocations: 0 / 0.9629 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1392, allocations: 3.984 kB / 0.9629 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1397, allocations: 0.5266 MB / 0.9634 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1397, allocations: 4 kB / 0.9634 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.1398, allocations: 31.98 kB / 0.9634 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1398, allocations: 4 kB / 0.9634 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1398, allocations: 4 kB / 0.9634 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1398, allocations: 3.938 kB / 0.9634 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1398, allocations: 4 kB / 0.9634 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1401, allocations: 370.1 kB / 0.9638 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1401, allocations: 39.77 kB / 0.9638 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1402, allocations: 8 kB / 0.9638 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.1402, allocations: 11.98 kB / 0.9638 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1403, allocations: 15.92 kB / 0.9638 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1403, allocations: 4 kB / 0.9638 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.542e-05/0.1404, allocations: 203 kB / 0.964 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1404, allocations: 0 / 0.964 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002919/0.1407, allocations: 95.72 kB / 0.9641 GB, free: 5.535 MB / 0.9167 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.0001905/0.1409, allocations: 139.1 kB / 0.9643 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.141, allocations: 91.42 kB / 0.9644 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.141, allocations: 0 / 0.9644 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.1411, allocations: 61.8 kB / 0.9644 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1415, allocations: 129.4 kB / 0.9645 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.1424, allocations: 0.59 MB / 0.9651 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.889e-05/0.1425, allocations: 96.3 kB / 0.9652 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.1426, allocations: 42.27 kB / 0.9652 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.1428, allocations: 158.1 kB / 0.9654 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/0.1428, allocations: 0 / 0.9654 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of Templates: time 0.007576/0.1504, allocations: 5.205 MB / 0.9705 GB, free: 15.09 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.486829744651914]