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.0008505/0.0008505, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008032/0.0008032, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8781/0.8781, allocations: 177.1 MB / 203.5 MB, free: 5.73 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 1.757/1.757, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.332e-06/1.332e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.122e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5971/0.5972, allocations: 149.4 MB / 1.147 GB, free: 6.527 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006409/0.6036, allocations: 6.631 MB / 1.153 GB, free: 2.094 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005539/0.6041, allocations: 15.47 kB / 1.153 GB, free: 2.086 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.6048, allocations: 212.3 kB / 1.154 GB, free: 1.957 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.6061, allocations: 0.6057 MB / 1.154 GB, free: 1.625 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.6072, allocations: 454.9 kB / 1.155 GB, free: 1.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009042/0.6081, allocations: 0.6956 MB / 1.155 GB, free: 1.09 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.6085, allocations: 209.8 kB / 1.155 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.6095, allocations: 0.6174 MB / 1.156 GB, free: 0.7266 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.6098, allocations: 195.5 kB / 1.156 GB, free: 0.6641 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.6098, allocations: 23.12 kB / 1.156 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009903/0.6108, allocations: 0.563 MB / 1.157 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.6109, allocations: 109.9 kB / 1.157 GB, free: 456 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.611, allocations: 115.2 kB / 1.157 GB, free: 408 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008657/0.6119, allocations: 0.5851 MB / 1.158 GB, free: 200 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6119, allocations: 4 kB / 1.158 GB, free: 196 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6119, allocations: 1.844 kB / 1.158 GB, free: 196 kB / 1.01 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6119, allocations: 3.938 kB / 1.158 GB, free: 192 kB / 1.01 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.0007348/0.6126, allocations: 0.5658 MB / 1.158 GB, free: 15.74 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6127, allocations: 10.89 kB / 1.158 GB, free: 15.74 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.6129, allocations: 66.59 kB / 1.158 GB, free: 15.71 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.6134, allocations: 262.9 kB / 1.158 GB, free: 15.51 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.6134, allocations: 14.78 kB / 1.159 GB, free: 15.51 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.6134, allocations: 23.91 kB / 1.159 GB, free: 15.5 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.6138, allocations: 299.3 kB / 1.159 GB, free: 15.32 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6138, allocations: 5.094 kB / 1.159 GB, free: 15.31 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.6138, allocations: 14.94 kB / 1.159 GB, free: 15.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6138, allocations: 7.156 kB / 1.159 GB, free: 15.3 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.6141, allocations: 180 kB / 1.159 GB, free: 15.24 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6152, allocations: 1.451 MB / 1.16 GB, free: 14 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.6154, allocations: 86.84 kB / 1.161 GB, free: 13.96 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6155, allocations: 80.38 kB / 1.161 GB, free: 13.93 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.6157, allocations: 29.77 kB / 1.161 GB, free: 13.93 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.6157, allocations: 36.22 kB / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.6157, allocations: 0 / 1.161 GB, free: 13.89 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.0004552/0.6161, allocations: 223.2 kB / 1.161 GB, free: 13.8 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.6162, allocations: 63.69 kB / 1.161 GB, free: 13.73 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.6164, allocations: 278.2 kB / 1.161 GB, free: 13.57 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.6164, allocations: 26.86 kB / 1.161 GB, free: 13.54 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6165, allocations: 199.8 kB / 1.161 GB, free: 13.37 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.6165, allocations: 41.12 kB / 1.161 GB, free: 13.34 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.6166, allocations: 52.33 kB / 1.161 GB, free: 13.3 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.6167, allocations: 332.2 kB / 1.162 GB, free: 12.98 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.614e-05/0.6168, allocations: 62.41 kB / 1.162 GB, free: 12.96 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.617, allocations: 381.7 kB / 1.162 GB, free: 12.56 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.6172, allocations: 238.7 kB / 1.162 GB, free: 12.37 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6172, allocations: 1.094 kB / 1.162 GB, free: 12.37 MB / 1.026 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003034/0.6175, allocations: 246.9 kB / 1.163 GB, free: 12.27 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6176, allocations: 6.312 kB / 1.163 GB, free: 12.27 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.6176, allocations: 5.75 kB / 1.163 GB, free: 12.27 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6176, allocations: 7.141 kB / 1.163 GB, free: 12.27 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.6177, allocations: 53.52 kB / 1.163 GB, free: 12.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6177, allocations: 11.3 kB / 1.163 GB, free: 12.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.6178, allocations: 35.12 kB / 1.163 GB, free: 12.23 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.6179, allocations: 15.36 kB / 1.163 GB, free: 12.23 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000149/0.618, allocations: 167.6 kB / 1.163 GB, free: 12.12 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002215/0.6182, allocations: 367.2 kB / 1.163 GB, free: 11.73 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002617/0.6185, allocations: 238.3 kB / 1.164 GB, free: 11.54 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.6185, allocations: 1.312 kB / 1.164 GB, free: 11.54 MB / 1.026 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003234/0.6188, allocations: 244.5 kB / 1.164 GB, free: 11.43 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6188, allocations: 7.625 kB / 1.164 GB, free: 11.43 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.6188, allocations: 4.656 kB / 1.164 GB, free: 11.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.6188, allocations: 9.188 kB / 1.164 GB, free: 11.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.619, allocations: 44.67 kB / 1.164 GB, free: 11.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.619, allocations: 14.56 kB / 1.164 GB, free: 11.42 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.6191, allocations: 25.64 kB / 1.164 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6191, allocations: 14.88 kB / 1.164 GB, free: 11.41 MB / 1.026 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.0001073/0.6192, allocations: 194.7 kB / 1.164 GB, free: 11.21 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.6193, allocations: 28.66 kB / 1.164 GB, free: 11.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.6195, allocations: 165.9 kB / 1.164 GB, free: 11.12 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.6195, allocations: 1.797 kB / 1.164 GB, free: 11.12 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6195, allocations: 3.938 kB / 1.164 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6196, allocations: 0.6094 kB / 1.164 GB, free: 11.11 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.6202, allocations: 0.5317 MB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6202, allocations: 2.125 kB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.6203, allocations: 31.41 kB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6203, allocations: 2.594 kB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.6203, allocations: 2.344 kB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6203, allocations: 3.172 kB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6203, allocations: 3.562 kB / 1.165 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.6205, allocations: 302.6 kB / 1.165 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.6206, allocations: 35.11 kB / 1.165 GB, free: 10.47 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.6206, allocations: 4.703 kB / 1.165 GB, free: 10.47 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.6207, allocations: 16.8 kB / 1.165 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.6207, allocations: 14.94 kB / 1.165 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.6207, allocations: 4.5 kB / 1.165 GB, free: 10.46 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001416/0.6209, allocations: 196.7 kB / 1.165 GB, free: 10.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6209, allocations: 0 / 1.165 GB, free: 10.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004741/0.6214, allocations: 144.5 kB / 1.166 GB, free: 10.31 MB / 1.026 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.0002672/0.6216, allocations: 145.8 kB / 1.166 GB, free: 10.21 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.622, allocations: 241.4 kB / 1.166 GB, free: 10.14 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.622, allocations: 0 / 1.166 GB, free: 10.14 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.6221, allocations: 69.08 kB / 1.166 GB, free: 10.12 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.6225, allocations: 85.38 kB / 1.166 GB, free: 10.09 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.6232, allocations: 0.5134 MB / 1.167 GB, free: 9.719 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.6234, allocations: 170.5 kB / 1.167 GB, free: 9.629 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.6234, allocations: 25.47 kB / 1.167 GB, free: 9.621 MB / 1.026 GB Notification: Performance of SimCode: time 1.233e-06/0.6234, allocations: 0 / 1.167 GB, free: 9.621 MB / 1.026 GB Notification: Performance of Templates: time 0.006317/0.6297, allocations: 4.113 MB / 1.171 GB, free: 9.199 MB / 1.026 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.834267879836261]