Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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.001409/0.001409, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001023/0.001023, allocations: 169 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.146/2.146, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.214e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1436/0.1436, allocations: 146.8 MB / 1.022 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1467, allocations: 2.607 MB / 1.024 GB, free: 372 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.1469, allocations: 19.81 kB / 1.024 GB, free: 352 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.1474, allocations: 131.1 kB / 1.024 GB, free: 220 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006421/0.1481, allocations: 393.7 kB / 1.025 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008886/0.149, allocations: 0.6655 MB / 1.025 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006411/0.1496, allocations: 0.7359 MB / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1499, allocations: 220 kB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.1503, allocations: 418.8 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1505, allocations: 199.3 kB / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.1506, allocations: 20 kB / 1.027 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.151, allocations: 454.9 kB / 1.027 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.1511, allocations: 119.6 kB / 1.027 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.1512, allocations: 115.7 kB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.1518, allocations: 486.3 kB / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1518, allocations: 0 / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1518, allocations: 0 / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1518, allocations: 4 kB / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007051/0.1525, allocations: 0.6897 MB / 1.029 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1525, allocations: 12.03 kB / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.1528, allocations: 100.5 kB / 1.029 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1531, allocations: 287.3 kB / 1.029 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1532, allocations: 24.62 kB / 1.029 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1532, allocations: 28 kB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.1536, allocations: 285.2 kB / 1.029 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1536, allocations: 0 / 1.029 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1536, allocations: 12 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1537, allocations: 4 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1538, allocations: 77.39 kB / 1.029 GB, free: 10.81 MB / 0.9948 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.001124/0.1549, allocations: 1.976 MB / 1.031 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.155, allocations: 59.02 kB / 1.031 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.1551, allocations: 35.72 kB / 1.031 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1552, allocations: 19.98 kB / 1.031 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1552, allocations: 37.39 kB / 1.032 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.1552, allocations: 4 kB / 1.032 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0002883/0.1555, allocations: 141.3 kB / 1.032 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1555, allocations: 51.41 kB / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1557, allocations: 354.2 kB / 1.032 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1558, allocations: 33.7 kB / 1.032 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1559, allocations: 263.1 kB / 1.032 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1559, allocations: 43.66 kB / 1.032 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.156, allocations: 67.34 kB / 1.032 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1561, allocations: 0.5117 MB / 1.033 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.1561, allocations: 31.67 kB / 1.033 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.1564, allocations: 474.7 kB / 1.033 GB, free: 6.383 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1566, allocations: 311.8 kB / 1.034 GB, free: 5.973 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1566, allocations: 4 kB / 1.034 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000268/0.1568, allocations: 248.9 kB / 1.034 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1568, allocations: 11.94 kB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1569, allocations: 4 kB / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1569, allocations: 8 kB / 1.034 GB, free: 5.695 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.157, allocations: 64.67 kB / 1.034 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.157, allocations: 12 kB / 1.034 GB, free: 5.621 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1571, allocations: 35.77 kB / 1.034 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.1572, allocations: 20 kB / 1.034 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.207e-05/0.1572, allocations: 154.9 kB / 1.034 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00022/0.1575, allocations: 472 kB / 1.035 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001941/0.1577, allocations: 319.8 kB / 1.035 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.1577, allocations: 3.938 kB / 1.035 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0002461/0.1579, allocations: 253.1 kB / 1.035 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.1579, allocations: 8 kB / 1.035 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1579, allocations: 4 kB / 1.035 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.1579, allocations: 8 kB / 1.035 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.158, allocations: 59.92 kB / 1.035 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.158, allocations: 15.92 kB / 1.035 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1581, allocations: 28.25 kB / 1.035 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1582, allocations: 20 kB / 1.035 GB, free: 3.969 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (32): * Single equations (assignments): 32 * 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 0.0001006/0.1583, allocations: 291.9 kB / 1.036 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.1584, allocations: 39.8 kB / 1.036 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1586, allocations: 104.4 kB / 1.036 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1586, allocations: 0 / 1.036 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1586, allocations: 0 / 1.036 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1586, allocations: 4 kB / 1.036 GB, free: 3.527 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.159, allocations: 0.5301 MB / 1.036 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.159, allocations: 4 kB / 1.036 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.1591, allocations: 23.98 kB / 1.036 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1591, allocations: 4 kB / 1.036 GB, free: 2.895 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1591, allocations: 4 kB / 1.036 GB, free: 2.891 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.1591, allocations: 11.88 kB / 1.036 GB, free: 2.879 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1591, allocations: 4.156 kB / 1.036 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1592, allocations: 309.9 kB / 1.037 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.1593, allocations: 47.67 kB / 1.037 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1593, allocations: 11.98 kB / 1.037 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1594, allocations: 7.938 kB / 1.037 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1594, allocations: 11.98 kB / 1.037 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1594, allocations: 4 kB / 1.037 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001206/0.1596, allocations: 227 kB / 1.037 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1596, allocations: 0 / 1.037 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003853/0.1599, allocations: 159.7 kB / 1.037 GB, free: 2.062 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0002139/0.1602, allocations: 139.1 kB / 1.037 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.1604, allocations: 218.9 kB / 1.037 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1604, allocations: 0 / 1.037 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.1605, allocations: 39.55 kB / 1.037 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.1609, allocations: 98.56 kB / 1.038 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.1617, allocations: 0.528 MB / 1.038 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.1618, allocations: 100.6 kB / 1.038 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.1619, allocations: 74.89 kB / 1.038 GB, free: 0.7812 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.162, allocations: 28.44 kB / 1.038 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of SimCode: time 8.11e-07/0.162, allocations: 4 kB / 1.038 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of Templates: time 0.006441/0.1684, allocations: 4.084 MB / 1.042 GB, free: 12.77 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.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: 6.52168341120705]