Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001854/0.001854, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002319/0.002319, allocations: 212.4 kB / 22.24 MB, free: 5.238 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 475.9 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 65.12 kB / 1.117 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4212, allocations: 169.9 MB / 1.283 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2145/0.6357, allocations: 149.5 MB / 1.429 GB, free: 13.61 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009411/0.6451, allocations: 6.697 MB / 1.436 GB, free: 6.887 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.6456, allocations: 15.88 kB / 1.436 GB, free: 6.871 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.6464, allocations: 214.5 kB / 1.436 GB, free: 6.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.6484, allocations: 0.5804 MB / 1.436 GB, free: 6.078 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.6503, allocations: 451.5 kB / 1.437 GB, free: 5.641 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.6517, allocations: 0.7129 MB / 1.437 GB, free: 4.926 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.6522, allocations: 203.6 kB / 1.438 GB, free: 4.734 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009709/0.6532, allocations: 394.5 kB / 1.438 GB, free: 4.348 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.6537, allocations: 226.9 kB / 1.438 GB, free: 4.125 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.6538, allocations: 20 kB / 1.438 GB, free: 4.105 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.655, allocations: 0.5767 MB / 1.439 GB, free: 3.527 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.6552, allocations: 111.6 kB / 1.439 GB, free: 3.418 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.6555, allocations: 135.4 kB / 1.439 GB, free: 3.285 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.6569, allocations: 0.5566 MB / 1.44 GB, free: 2.727 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6569, allocations: 0 / 1.44 GB, free: 2.727 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6569, allocations: 0 / 1.44 GB, free: 2.727 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.6569, allocations: 0 / 1.44 GB, free: 2.727 MB / 1.139 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.001574/0.6585, allocations: 0.5745 MB / 1.44 GB, free: 2.121 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.6586, allocations: 12.03 kB / 1.44 GB, free: 2.109 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.659, allocations: 71.61 kB / 1.44 GB, free: 2.039 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.6597, allocations: 264 kB / 1.441 GB, free: 1.758 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.6597, allocations: 20.44 kB / 1.441 GB, free: 1.738 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.6598, allocations: 20 kB / 1.441 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.6603, allocations: 312.4 kB / 1.441 GB, free: 1.375 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6604, allocations: 3.938 kB / 1.441 GB, free: 1.371 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.6604, allocations: 11.94 kB / 1.441 GB, free: 1.359 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.6604, allocations: 4 kB / 1.441 GB, free: 1.355 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.6608, allocations: 175.8 kB / 1.441 GB, free: 1.184 MB / 1.139 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.00231/0.6631, allocations: 1.462 MB / 1.442 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.6634, allocations: 82.5 kB / 1.443 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.6636, allocations: 72.86 kB / 1.443 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.6639, allocations: 35.97 kB / 1.443 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.6639, allocations: 34.5 kB / 1.443 GB, free: 15.4 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.923e-06/0.6639, allocations: 4 kB / 1.443 GB, free: 15.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0008072/0.6647, allocations: 221.3 kB / 1.443 GB, free: 15.18 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.6648, allocations: 59.34 kB / 1.443 GB, free: 15.11 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.6652, allocations: 272.1 kB / 1.443 GB, free: 14.83 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.6653, allocations: 33.7 kB / 1.443 GB, free: 14.79 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.6655, allocations: 200.1 kB / 1.443 GB, free: 14.59 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.6657, allocations: 55.58 kB / 1.444 GB, free: 14.53 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6658, allocations: 45.7 kB / 1.444 GB, free: 14.48 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0003178/0.6661, allocations: 334.8 kB / 1.444 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.6663, allocations: 60.81 kB / 1.444 GB, free: 14.08 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.6669, allocations: 375.3 kB / 1.444 GB, free: 13.61 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.6673, allocations: 233.4 kB / 1.445 GB, free: 13.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6673, allocations: 0 / 1.445 GB, free: 13.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005494/0.6678, allocations: 257.1 kB / 1.445 GB, free: 13.08 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6679, allocations: 11.94 kB / 1.445 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6679, allocations: 0 / 1.445 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.6679, allocations: 8.406 kB / 1.445 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.6681, allocations: 51.91 kB / 1.445 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6681, allocations: 12 kB / 1.445 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.6684, allocations: 27.88 kB / 1.445 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.6684, allocations: 19.94 kB / 1.445 GB, free: 12.95 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002722/0.6687, allocations: 172 kB / 1.445 GB, free: 12.78 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004143/0.6691, allocations: 369 kB / 1.445 GB, free: 12.31 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004039/0.6695, allocations: 237.4 kB / 1.446 GB, free: 12.03 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.6695, allocations: 0 / 1.446 GB, free: 12.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004993/0.67, allocations: 245.5 kB / 1.446 GB, free: 11.79 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.67, allocations: 14.22 kB / 1.446 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.67, allocations: 7.938 kB / 1.446 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.67, allocations: 4 kB / 1.446 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.6702, allocations: 43.92 kB / 1.446 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6702, allocations: 11.92 kB / 1.446 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.6705, allocations: 35.88 kB / 1.446 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.6705, allocations: 8 kB / 1.446 GB, free: 11.66 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001528/0.6706, allocations: 196.2 kB / 1.446 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.6707, allocations: 27.8 kB / 1.446 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.6711, allocations: 159.4 kB / 1.446 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6711, allocations: 4 kB / 1.446 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6711, allocations: 0 / 1.446 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6711, allocations: 3.938 kB / 1.446 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.6723, allocations: 0.5467 MB / 1.447 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6723, allocations: 0 / 1.447 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.6725, allocations: 27.92 kB / 1.447 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6725, allocations: 4 kB / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.6725, allocations: 0 / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.6725, allocations: 4 kB / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6725, allocations: 0 / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.6731, allocations: 305.4 kB / 1.447 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.6732, allocations: 31.84 kB / 1.447 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.6732, allocations: 4 kB / 1.447 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.6734, allocations: 11.98 kB / 1.447 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.6734, allocations: 19.86 kB / 1.447 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.6734, allocations: 4 kB / 1.447 GB, free: 10.22 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002488/0.6737, allocations: 191.1 kB / 1.447 GB, free: 10.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6737, allocations: 0 / 1.447 GB, free: 10.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007609/0.6745, allocations: 147.6 kB / 1.448 GB, free: 9.895 MB / 1.154 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.0003408/0.6748, allocations: 147.1 kB / 1.448 GB, free: 9.738 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.6754, allocations: 240.8 kB / 1.448 GB, free: 9.504 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6754, allocations: 7.938 kB / 1.448 GB, free: 9.496 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.6756, allocations: 64.09 kB / 1.448 GB, free: 9.434 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.6763, allocations: 96.52 kB / 1.448 GB, free: 9.344 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.6772, allocations: 0.4893 MB / 1.449 GB, free: 8.801 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.6775, allocations: 167.1 kB / 1.449 GB, free: 8.617 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002781/0.6778, allocations: 78.91 kB / 1.449 GB, free: 8.539 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.6779, allocations: 27.44 kB / 1.449 GB, free: 8.512 MB / 1.154 GB Notification: Performance of SimCode: time 6.81e-07/0.6779, allocations: 0 / 1.449 GB, free: 8.512 MB / 1.154 GB Notification: Performance of Templates: time 0.01086/0.6887, allocations: 4.571 MB / 1.453 GB, free: 4.059 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.584971703588963]