Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001781/0.001781, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001747/0.001747, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.315/3.315, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002089/0.002089, allocations: 68.3 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4213, allocations: 176.1 MB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2163/0.6377, allocations: 172.9 MB / 1.49 GB, free: 5.176 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00933/0.647, allocations: 7.368 MB / 1.497 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.6476, allocations: 19.81 kB / 1.497 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.6483, allocations: 214.6 kB / 1.498 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.6499, allocations: 0.5989 MB / 1.498 GB, free: 12.95 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.6511, allocations: 426.7 kB / 1.499 GB, free: 12.54 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.6521, allocations: 0.7128 MB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.6525, allocations: 235 kB / 1.499 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.6535, allocations: 0.541 MB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.6538, allocations: 227 kB / 1.5 GB, free: 10.83 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.6538, allocations: 20 kB / 1.5 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.655, allocations: 0.7171 MB / 1.501 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.6551, allocations: 111.6 kB / 1.501 GB, free: 9.984 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.6553, allocations: 155.2 kB / 1.501 GB, free: 9.832 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008131/0.6561, allocations: 0.5683 MB / 1.502 GB, free: 9.262 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6561, allocations: 0 / 1.502 GB, free: 9.262 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6561, allocations: 0 / 1.502 GB, free: 9.262 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.6561, allocations: 4 kB / 1.502 GB, free: 9.258 MB / 1.201 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.0009496/0.657, allocations: 0.6576 MB / 1.502 GB, free: 8.551 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6571, allocations: 11.98 kB / 1.502 GB, free: 8.539 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.6574, allocations: 63.72 kB / 1.502 GB, free: 8.477 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.6579, allocations: 330.3 kB / 1.503 GB, free: 8.113 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.6579, allocations: 12.44 kB / 1.503 GB, free: 8.102 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.658, allocations: 24 kB / 1.503 GB, free: 8.078 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.6585, allocations: 300.6 kB / 1.503 GB, free: 7.742 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6585, allocations: 0 / 1.503 GB, free: 7.742 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.6585, allocations: 19.92 kB / 1.503 GB, free: 7.723 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.6585, allocations: 4 kB / 1.503 GB, free: 7.719 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.6589, allocations: 187.5 kB / 1.503 GB, free: 7.535 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.6606, allocations: 1.698 MB / 1.505 GB, free: 5.715 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.6609, allocations: 78.58 kB / 1.505 GB, free: 5.629 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.6611, allocations: 72.84 kB / 1.505 GB, free: 5.555 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.6614, allocations: 194.1 kB / 1.505 GB, free: 5.328 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6614, allocations: 46.44 kB / 1.505 GB, free: 5.273 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.6614, allocations: 0 / 1.505 GB, free: 5.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.0007149/0.6621, allocations: 213.4 kB / 1.506 GB, free: 5.059 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.6622, allocations: 55.41 kB / 1.506 GB, free: 4.992 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.6625, allocations: 324.5 kB / 1.506 GB, free: 4.656 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.6625, allocations: 33.7 kB / 1.506 GB, free: 4.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.6627, allocations: 192.1 kB / 1.506 GB, free: 4.426 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.6627, allocations: 47.64 kB / 1.506 GB, free: 4.379 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.6628, allocations: 45.7 kB / 1.506 GB, free: 4.328 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.663, allocations: 338.8 kB / 1.507 GB, free: 3.988 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6631, allocations: 60.83 kB / 1.507 GB, free: 3.926 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.6634, allocations: 201 kB / 1.507 GB, free: 3.668 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.6638, allocations: 229.5 kB / 1.507 GB, free: 3.395 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6639, allocations: 7.938 kB / 1.507 GB, free: 3.387 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005158/0.6644, allocations: 261.3 kB / 1.507 GB, free: 3.125 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6644, allocations: 8.062 kB / 1.507 GB, free: 3.117 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6644, allocations: 4 kB / 1.507 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6644, allocations: 8 kB / 1.507 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.6646, allocations: 47.91 kB / 1.507 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6646, allocations: 8 kB / 1.507 GB, free: 3.051 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.6649, allocations: 35.77 kB / 1.507 GB, free: 3.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.6649, allocations: 12 kB / 1.507 GB, free: 3.004 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002545/0.6652, allocations: 171.9 kB / 1.508 GB, free: 2.832 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002812/0.6654, allocations: 202.6 kB / 1.508 GB, free: 2.574 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003974/0.6658, allocations: 233.5 kB / 1.508 GB, free: 2.297 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6658, allocations: 0 / 1.508 GB, free: 2.297 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004867/0.6663, allocations: 245.4 kB / 1.508 GB, free: 2.051 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6663, allocations: 16 kB / 1.508 GB, free: 2.035 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6663, allocations: 4 kB / 1.508 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.6664, allocations: 4 kB / 1.508 GB, free: 2.027 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.6665, allocations: 51.91 kB / 1.508 GB, free: 1.977 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6665, allocations: 4 kB / 1.508 GB, free: 1.973 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6668, allocations: 27.88 kB / 1.508 GB, free: 1.945 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.6668, allocations: 15.98 kB / 1.508 GB, free: 1.93 MB / 1.201 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.0001318/0.6669, allocations: 200.2 kB / 1.508 GB, free: 1.727 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.667, allocations: 31.75 kB / 1.509 GB, free: 1.695 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.6674, allocations: 168.6 kB / 1.509 GB, free: 1.523 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6674, allocations: 0 / 1.509 GB, free: 1.523 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6674, allocations: 7.938 kB / 1.509 GB, free: 1.516 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6674, allocations: 3.984 kB / 1.509 GB, free: 1.512 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.6684, allocations: 0.6093 MB / 1.509 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6684, allocations: 4 kB / 1.509 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6686, allocations: 28.14 kB / 1.509 GB, free: 0.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6686, allocations: 4 kB / 1.509 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6686, allocations: 8 kB / 1.509 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6686, allocations: 4 kB / 1.509 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6686, allocations: 3.938 kB / 1.509 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.669, allocations: 305.2 kB / 1.51 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.6692, allocations: 112.9 kB / 1.51 GB, free: 316 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.6692, allocations: 8 kB / 1.51 GB, free: 308 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.6694, allocations: 7.984 kB / 1.51 GB, free: 300 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.6695, allocations: 23.92 kB / 1.51 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6695, allocations: 4 kB / 1.51 GB, free: 272 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002651/0.6697, allocations: 227 kB / 1.51 GB, free: 48 kB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6697, allocations: 0 / 1.51 GB, free: 48 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006168/0.6703, allocations: 131.9 kB / 1.51 GB, free: 15.91 MB / 1.217 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.0003108/0.6707, allocations: 155 kB / 1.51 GB, free: 15.76 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006178/0.6713, allocations: 241 kB / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6713, allocations: 0 / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.6714, allocations: 60.39 kB / 1.511 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.6722, allocations: 126.7 kB / 1.511 GB, free: 15.34 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.6731, allocations: 0.5082 MB / 1.511 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.6736, allocations: 0.7756 MB / 1.512 GB, free: 13.99 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.6738, allocations: 82.89 kB / 1.512 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.6739, allocations: 39.36 kB / 1.512 GB, free: 13.87 MB / 1.217 GB Notification: Performance of SimCode: time 3.9e-07/0.6739, allocations: 0 / 1.512 GB, free: 13.87 MB / 1.217 GB Notification: Performance of Templates: time 0.01101/0.6849, allocations: 4.967 MB / 1.517 GB, free: 8.973 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.585196183994412]