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.001506/0.001506, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00101/0.00101, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9535/0.9535, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.633e-06/1.633e-06, allocations: 0 / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.613e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1406/0.1407, allocations: 146.6 MB / 0.9547 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1422, allocations: 1.293 MB / 0.956 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1424, allocations: 15.88 kB / 0.956 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1427, allocations: 83.22 kB / 0.9561 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007044/0.1434, allocations: 405.7 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.1441, allocations: 450.8 kB / 0.9569 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.1446, allocations: 0.7136 MB / 0.9576 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1448, allocations: 201.4 kB / 0.9578 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.1452, allocations: 382.9 kB / 0.9581 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1454, allocations: 199.4 kB / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1455, allocations: 28 kB / 0.9584 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.1458, allocations: 307.1 kB / 0.9587 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.1459, allocations: 123.6 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.146, allocations: 115.8 kB / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1465, allocations: 450.5 kB / 0.9593 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1465, allocations: 0 / 0.9593 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1465, allocations: 0 / 0.9593 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.1465, allocations: 0 / 0.9593 GB, free: 9.926 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.0007399/0.1472, allocations: 0.6591 MB / 0.96 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1473, allocations: 12.03 kB / 0.96 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/0.1482, allocations: 220.1 kB / 0.9602 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1485, allocations: 271.9 kB / 0.9604 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1486, allocations: 24.44 kB / 0.9605 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.1486, allocations: 24 kB / 0.9605 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.1489, allocations: 232 kB / 0.9607 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1489, allocations: 3.938 kB / 0.9607 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1489, allocations: 12 kB / 0.9607 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1489, allocations: 4 kB / 0.9607 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1491, allocations: 96.75 kB / 0.9608 GB, free: 8.301 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.000861/0.1499, allocations: 1.158 MB / 0.9619 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1501, allocations: 90.91 kB / 0.962 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1501, allocations: 43.67 kB / 0.9621 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.1503, allocations: 51.94 kB / 0.9621 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1504, allocations: 41.39 kB / 0.9622 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.1504, allocations: 0 / 0.9622 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0003729/0.1507, allocations: 179.8 kB / 0.9623 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1508, allocations: 51.41 kB / 0.9624 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1509, allocations: 302.3 kB / 0.9627 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.151, allocations: 25.7 kB / 0.9627 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1511, allocations: 235 kB / 0.9629 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1511, allocations: 63.44 kB / 0.963 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.1512, allocations: 55.36 kB / 0.963 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1513, allocations: 0.5079 MB / 0.9635 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.1513, allocations: 27.97 kB / 0.9636 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1514, allocations: 167.2 kB / 0.9637 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1516, allocations: 130 kB / 0.9638 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1516, allocations: 3.938 kB / 0.9638 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002042/0.1518, allocations: 171.1 kB / 0.964 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1518, allocations: 4 kB / 0.964 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1518, allocations: 8.094 kB / 0.964 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1518, allocations: 3.938 kB / 0.964 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.152, allocations: 47.92 kB / 0.9641 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.152, allocations: 0 / 0.9641 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.152, allocations: 23.88 kB / 0.9641 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1521, allocations: 8 kB / 0.9641 GB, free: 4.715 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.086e-05/0.1521, allocations: 172.5 kB / 0.9643 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1522, allocations: 27.86 kB / 0.9643 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.1524, allocations: 139.8 kB / 0.9644 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1524, allocations: 4 kB / 0.9644 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1524, allocations: 4 kB / 0.9644 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1524, allocations: 0 / 0.9644 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.1529, allocations: 0.5807 MB / 0.965 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1529, allocations: 4 kB / 0.965 GB, free: 3.699 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-05/0.153, allocations: 35.92 kB / 0.965 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.153, allocations: 8.359 kB / 0.965 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.153, allocations: 0 / 0.965 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.153, allocations: 7.984 kB / 0.9651 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.153, allocations: 19.91 kB / 0.9651 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1533, allocations: 371.1 kB / 0.9654 GB, free: 3.215 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1534, allocations: 39.78 kB / 0.9655 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1534, allocations: 7.984 kB / 0.9655 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1534, allocations: 8 kB / 0.9655 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.1535, allocations: 11.92 kB / 0.9655 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.1535, allocations: 12 kB / 0.9655 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001032/0.1536, allocations: 211 kB / 0.9657 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1536, allocations: 0 / 0.9657 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002388/0.1538, allocations: 91.78 kB / 0.9658 GB, free: 2.844 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.0001954/0.154, allocations: 139.1 kB / 0.9659 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1542, allocations: 103.4 kB / 0.966 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1542, allocations: 4.188 kB / 0.966 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.1543, allocations: 61.42 kB / 0.9661 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1547, allocations: 117.5 kB / 0.9662 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1557, allocations: 0.6019 MB / 0.9668 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.1558, allocations: 104.3 kB / 0.9669 GB, free: 1.629 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.1559, allocations: 42.27 kB / 0.9669 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.1562, allocations: 24.5 kB / 0.9669 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of SimCode: time 9.71e-07/0.1562, allocations: 0 / 0.9669 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of Templates: time 0.006438/0.1627, allocations: 4.653 MB / 0.9715 GB, free: 13.05 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.665759718045592]