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.001482/0.001482, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001549/0.001549, allocations: 207.9 kB / 23 MB, free: 4.965 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.742/2.742, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] 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.002099/0.002099, allocations: 67.28 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 169.9 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2051/0.5599, allocations: 149.5 MB / 1.43 GB, free: 5.859 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.5703, allocations: 6.685 MB / 1.436 GB, free: 15.15 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.571, allocations: 19.81 kB / 1.436 GB, free: 15.13 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.5718, allocations: 206.6 kB / 1.437 GB, free: 14.93 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.5737, allocations: 0.5949 MB / 1.437 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.5752, allocations: 436.2 kB / 1.438 GB, free: 13.91 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.5765, allocations: 0.7129 MB / 1.438 GB, free: 13.19 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.5769, allocations: 215.5 kB / 1.438 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008861/0.5778, allocations: 398.5 kB / 1.439 GB, free: 12.6 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.5781, allocations: 219.1 kB / 1.439 GB, free: 12.38 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.5782, allocations: 16 kB / 1.439 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.5795, allocations: 0.5844 MB / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.5797, allocations: 111.7 kB / 1.44 GB, free: 11.67 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.5799, allocations: 127.4 kB / 1.44 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.5811, allocations: 0.5527 MB / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.5811, allocations: 3.938 kB / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.836e-06/0.5811, allocations: 0 / 1.44 GB, free: 10.99 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.5811, allocations: 0 / 1.44 GB, free: 10.99 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.001119/0.5822, allocations: 0.5823 MB / 1.441 GB, free: 10.38 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5823, allocations: 12.03 kB / 1.441 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.5827, allocations: 67.67 kB / 1.441 GB, free: 10.3 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.5833, allocations: 263.9 kB / 1.441 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.5833, allocations: 20.44 kB / 1.441 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.5834, allocations: 24 kB / 1.441 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.5839, allocations: 300.4 kB / 1.442 GB, free: 9.641 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5839, allocations: 4 kB / 1.442 GB, free: 9.637 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.584, allocations: 11.94 kB / 1.442 GB, free: 9.625 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.584, allocations: 8 kB / 1.442 GB, free: 9.617 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.5844, allocations: 175.7 kB / 1.442 GB, free: 9.445 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.002011/0.5864, allocations: 1.466 MB / 1.443 GB, free: 7.902 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.5867, allocations: 78.61 kB / 1.443 GB, free: 7.816 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.5868, allocations: 76.81 kB / 1.443 GB, free: 7.738 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.587, allocations: 31.98 kB / 1.443 GB, free: 7.707 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.733e-05/0.5871, allocations: 46.42 kB / 1.443 GB, free: 7.652 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.5871, allocations: 0 / 1.443 GB, free: 7.652 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0007593/0.5879, allocations: 221.3 kB / 1.444 GB, free: 7.43 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5879, allocations: 55.41 kB / 1.444 GB, free: 7.363 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.5883, allocations: 276.1 kB / 1.444 GB, free: 7.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.5883, allocations: 29.7 kB / 1.444 GB, free: 7.047 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.5886, allocations: 196.1 kB / 1.444 GB, free: 6.848 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.5886, allocations: 47.58 kB / 1.444 GB, free: 6.801 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.5887, allocations: 49.7 kB / 1.444 GB, free: 6.746 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.5889, allocations: 330.8 kB / 1.445 GB, free: 6.414 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.5891, allocations: 64.81 kB / 1.445 GB, free: 6.348 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.5895, allocations: 383.1 kB / 1.445 GB, free: 5.871 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.5899, allocations: 237.5 kB / 1.445 GB, free: 5.59 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5899, allocations: 0 / 1.445 GB, free: 5.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005361/0.5905, allocations: 253.2 kB / 1.446 GB, free: 5.336 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5905, allocations: 7.938 kB / 1.446 GB, free: 5.328 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5905, allocations: 4 kB / 1.446 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.5905, allocations: 11.98 kB / 1.446 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.5907, allocations: 43.92 kB / 1.446 GB, free: 5.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5907, allocations: 8 kB / 1.446 GB, free: 5.262 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.591, allocations: 35.86 kB / 1.446 GB, free: 5.227 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.591, allocations: 12.22 kB / 1.446 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002957/0.5913, allocations: 172.1 kB / 1.446 GB, free: 5.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000501/0.5918, allocations: 374.7 kB / 1.446 GB, free: 4.574 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003911/0.5922, allocations: 229.4 kB / 1.446 GB, free: 4.301 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.5922, allocations: 0 / 1.446 GB, free: 4.301 MB / 1.139 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004845/0.5927, allocations: 257.1 kB / 1.447 GB, free: 4.043 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5927, allocations: 8 kB / 1.447 GB, free: 4.035 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5927, allocations: 7.938 kB / 1.447 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.5927, allocations: 4 kB / 1.447 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.5929, allocations: 51.91 kB / 1.447 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5929, allocations: 4.406 kB / 1.447 GB, free: 3.969 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.5931, allocations: 31.88 kB / 1.447 GB, free: 3.938 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.5932, allocations: 12 kB / 1.447 GB, free: 3.926 MB / 1.139 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.0001562/0.5933, allocations: 200.2 kB / 1.447 GB, free: 3.723 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.5934, allocations: 27.8 kB / 1.447 GB, free: 3.695 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.5938, allocations: 163.5 kB / 1.447 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5938, allocations: 4 kB / 1.447 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5938, allocations: 0 / 1.447 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5938, allocations: 4 kB / 1.447 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5948, allocations: 0.5309 MB / 1.448 GB, free: 2.934 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5948, allocations: 0 / 1.448 GB, free: 2.934 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.5949, allocations: 27.92 kB / 1.448 GB, free: 2.906 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.5949, allocations: 4.219 kB / 1.448 GB, free: 2.902 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5949, allocations: 8 kB / 1.448 GB, free: 2.895 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.5949, allocations: 4 kB / 1.448 GB, free: 2.891 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5949, allocations: 7.969 kB / 1.448 GB, free: 2.883 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.5954, allocations: 297.2 kB / 1.448 GB, free: 2.555 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.5955, allocations: 31.84 kB / 1.448 GB, free: 2.523 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.5955, allocations: 8 kB / 1.448 GB, free: 2.516 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.5957, allocations: 7.984 kB / 1.448 GB, free: 2.508 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.5957, allocations: 19.92 kB / 1.448 GB, free: 2.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.5957, allocations: 8 kB / 1.448 GB, free: 2.48 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002638/0.596, allocations: 187.1 kB / 1.448 GB, free: 2.301 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.596, allocations: 0 / 1.448 GB, free: 2.301 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006205/0.5966, allocations: 147.7 kB / 1.448 GB, free: 2.156 MB / 1.139 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.0003026/0.5969, allocations: 151 kB / 1.449 GB, free: 1.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.5975, allocations: 240.9 kB / 1.449 GB, free: 1.762 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5975, allocations: 0 / 1.449 GB, free: 1.762 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.5977, allocations: 65.2 kB / 1.449 GB, free: 1.699 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.5984, allocations: 91.33 kB / 1.449 GB, free: 1.613 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.5993, allocations: 0.5261 MB / 1.449 GB, free: 1.027 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.5995, allocations: 167.1 kB / 1.45 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.5996, allocations: 31.44 kB / 1.45 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of SimCode: time 7.51e-07/0.5996, allocations: 0 / 1.45 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of Templates: time 0.007611/0.6072, allocations: 4.166 MB / 1.454 GB, free: 12.68 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/jenkins1/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: 11.969036583323032]