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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 188.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.913/2.913, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 64.84 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3312, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1961/0.5273, allocations: 170.2 MB / 1.474 GB, free: 6.891 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009652/0.537, allocations: 7.408 MB / 1.481 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.5376, allocations: 15.88 kB / 1.481 GB, free: 15.45 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.5384, allocations: 218.5 kB / 1.481 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5399, allocations: 0.6029 MB / 1.482 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.5413, allocations: 454.8 kB / 1.482 GB, free: 14.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.5423, allocations: 0.709 MB / 1.483 GB, free: 13.47 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.5427, allocations: 219.5 kB / 1.483 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.5438, allocations: 0.541 MB / 1.483 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.5441, allocations: 235 kB / 1.484 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.5441, allocations: 20 kB / 1.484 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.5453, allocations: 0.721 MB / 1.484 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.5454, allocations: 111.6 kB / 1.485 GB, free: 11.64 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.5456, allocations: 155.2 kB / 1.485 GB, free: 11.48 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.5464, allocations: 0.5722 MB / 1.485 GB, free: 10.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5464, allocations: 0 / 1.485 GB, free: 10.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5464, allocations: 0 / 1.485 GB, free: 10.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5464, allocations: 0 / 1.485 GB, free: 10.91 MB / 1.186 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.0009396/0.5474, allocations: 0.5745 MB / 1.486 GB, free: 10.3 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5474, allocations: 8.922 kB / 1.486 GB, free: 10.3 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.5477, allocations: 71.66 kB / 1.486 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.5482, allocations: 264 kB / 1.486 GB, free: 9.941 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.5482, allocations: 16.44 kB / 1.486 GB, free: 9.922 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.5483, allocations: 24 kB / 1.486 GB, free: 9.898 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.5488, allocations: 300.6 kB / 1.486 GB, free: 9.566 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5488, allocations: 8 kB / 1.486 GB, free: 9.559 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.5488, allocations: 11.94 kB / 1.486 GB, free: 9.547 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.5488, allocations: 8 kB / 1.486 GB, free: 9.539 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.5492, allocations: 175.7 kB / 1.487 GB, free: 9.367 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.5509, allocations: 1.656 MB / 1.488 GB, free: 7.598 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.5512, allocations: 82.61 kB / 1.488 GB, free: 7.508 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.5514, allocations: 76.8 kB / 1.488 GB, free: 7.43 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.5516, allocations: 39.84 kB / 1.488 GB, free: 7.391 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5516, allocations: 38.55 kB / 1.488 GB, free: 7.344 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.5516, allocations: 4 kB / 1.488 GB, free: 7.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0006629/0.5522, allocations: 221.7 kB / 1.489 GB, free: 7.117 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5523, allocations: 51.41 kB / 1.489 GB, free: 7.055 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.5527, allocations: 328.4 kB / 1.489 GB, free: 6.723 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5527, allocations: 29.7 kB / 1.489 GB, free: 6.688 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.5528, allocations: 192.1 kB / 1.489 GB, free: 6.496 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.5529, allocations: 47.67 kB / 1.489 GB, free: 6.449 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.553, allocations: 49.7 kB / 1.489 GB, free: 6.395 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5531, allocations: 334.8 kB / 1.49 GB, free: 6.059 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.5533, allocations: 64.75 kB / 1.49 GB, free: 5.992 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.5535, allocations: 201.1 kB / 1.49 GB, free: 5.738 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.5539, allocations: 241.4 kB / 1.49 GB, free: 5.453 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5539, allocations: 0 / 1.49 GB, free: 5.453 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004544/0.5544, allocations: 249.1 kB / 1.49 GB, free: 5.203 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5544, allocations: 11.92 kB / 1.49 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5544, allocations: 4 kB / 1.49 GB, free: 5.188 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5544, allocations: 8.406 kB / 1.49 GB, free: 5.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.5546, allocations: 47.92 kB / 1.49 GB, free: 5.133 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.5546, allocations: 7.984 kB / 1.49 GB, free: 5.125 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.5548, allocations: 35.77 kB / 1.49 GB, free: 5.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.5549, allocations: 16 kB / 1.491 GB, free: 5.074 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002245/0.5551, allocations: 168.1 kB / 1.491 GB, free: 4.906 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002461/0.5553, allocations: 196.9 kB / 1.491 GB, free: 4.652 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003445/0.5557, allocations: 233.6 kB / 1.491 GB, free: 4.375 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.516e-06/0.5557, allocations: 4 kB / 1.491 GB, free: 4.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004356/0.5561, allocations: 249.1 kB / 1.491 GB, free: 4.121 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5561, allocations: 11.94 kB / 1.491 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5561, allocations: 4 kB / 1.491 GB, free: 4.105 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.5561, allocations: 4.406 kB / 1.491 GB, free: 4.102 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.5563, allocations: 51.91 kB / 1.491 GB, free: 4.051 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.5563, allocations: 4 kB / 1.491 GB, free: 4.047 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.5565, allocations: 31.88 kB / 1.491 GB, free: 4.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.5566, allocations: 11.94 kB / 1.491 GB, free: 4.004 MB / 1.186 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.0001301/0.5567, allocations: 200.1 kB / 1.492 GB, free: 3.801 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.5567, allocations: 35.73 kB / 1.492 GB, free: 3.766 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.5571, allocations: 176.3 kB / 1.492 GB, free: 3.586 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5571, allocations: 4 kB / 1.492 GB, free: 3.582 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5571, allocations: 0 / 1.492 GB, free: 3.582 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5571, allocations: 0 / 1.492 GB, free: 3.582 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.558, allocations: 0.5811 MB / 1.492 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5581, allocations: 0 / 1.492 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5582, allocations: 31.92 kB / 1.492 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5582, allocations: 0 / 1.492 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5582, allocations: 4 kB / 1.492 GB, free: 2.895 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5582, allocations: 4 kB / 1.492 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.5582, allocations: 8.156 kB / 1.492 GB, free: 2.883 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.5586, allocations: 305.2 kB / 1.493 GB, free: 2.547 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.5587, allocations: 39.73 kB / 1.493 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.5587, allocations: 4 kB / 1.493 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.5589, allocations: 11.98 kB / 1.493 GB, free: 2.492 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.5589, allocations: 15.92 kB / 1.493 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.5589, allocations: 8 kB / 1.493 GB, free: 2.469 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002297/0.5592, allocations: 227 kB / 1.493 GB, free: 2.25 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5592, allocations: 3.938 kB / 1.493 GB, free: 2.246 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005356/0.5597, allocations: 135.8 kB / 1.493 GB, free: 2.113 MB / 1.186 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.0003575/0.5601, allocations: 155.8 kB / 1.493 GB, free: 1.961 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.5606, allocations: 243.9 kB / 1.494 GB, free: 1.723 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5606, allocations: 0 / 1.494 GB, free: 1.723 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5608, allocations: 65.03 kB / 1.494 GB, free: 1.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.5615, allocations: 126 kB / 1.494 GB, free: 1.535 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.5623, allocations: 0.5088 MB / 1.494 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5628, allocations: 0.7795 MB / 1.495 GB, free: 180 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.563, allocations: 87.53 kB / 1.495 GB, free: 92 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.563, allocations: 23.44 kB / 1.495 GB, free: 68 kB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.563, allocations: 0 / 1.495 GB, free: 68 kB / 1.186 GB Notification: Performance of Templates: time 0.01006/0.5731, allocations: 5.052 MB / 1.5 GB, free: 11.09 MB / 1.201 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: 8.540890543721616]