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.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.001534/0.001534, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001768/0.001768, allocations: 188.9 kB / 22.22 MB, free: 5.105 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.322/1.322, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.917/2.917, allocations: 0.4893 GB / 0.7884 GB, free: 33.08 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-master/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_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 0.001851/0.001851, allocations: 71.44 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3286, allocations: 174.9 MB / 1.316 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1825/0.5111, allocations: 170.2 MB / 1.482 GB, free: 14.83 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008872/0.52, allocations: 7.404 MB / 1.49 GB, free: 7.402 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.5205, allocations: 15.88 kB / 1.49 GB, free: 7.387 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.5211, allocations: 222.5 kB / 1.49 GB, free: 7.168 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.5225, allocations: 0.6068 MB / 1.49 GB, free: 6.559 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.5237, allocations: 449.1 kB / 1.491 GB, free: 6.125 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008711/0.5245, allocations: 0.7207 MB / 1.491 GB, free: 5.402 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.5249, allocations: 216.1 kB / 1.492 GB, free: 5.191 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009646/0.5258, allocations: 0.5488 MB / 1.492 GB, free: 4.641 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.5261, allocations: 223.1 kB / 1.492 GB, free: 4.422 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.5262, allocations: 20 kB / 1.492 GB, free: 4.402 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.5272, allocations: 0.721 MB / 1.493 GB, free: 3.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.5273, allocations: 111.6 kB / 1.493 GB, free: 3.57 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.5275, allocations: 159.2 kB / 1.493 GB, free: 3.414 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007509/0.5282, allocations: 0.5683 MB / 1.494 GB, free: 2.844 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5282, allocations: 0 / 1.494 GB, free: 2.844 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5282, allocations: 0 / 1.494 GB, free: 2.844 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5282, allocations: 0 / 1.494 GB, free: 2.844 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.0008451/0.5291, allocations: 0.5744 MB / 1.495 GB, free: 2.238 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5291, allocations: 12.03 kB / 1.495 GB, free: 2.227 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.5294, allocations: 71.66 kB / 1.495 GB, free: 2.156 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.5299, allocations: 256.1 kB / 1.495 GB, free: 1.883 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.5299, allocations: 20.44 kB / 1.495 GB, free: 1.863 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.53, allocations: 24 kB / 1.495 GB, free: 1.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.5304, allocations: 296.6 kB / 1.495 GB, free: 1.508 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5304, allocations: 3.938 kB / 1.495 GB, free: 1.504 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.5305, allocations: 19.94 kB / 1.495 GB, free: 1.484 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5305, allocations: 4 kB / 1.495 GB, free: 1.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.5309, allocations: 171.8 kB / 1.495 GB, free: 1.312 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.5325, allocations: 1.652 MB / 1.497 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.5327, allocations: 86.48 kB / 1.497 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.5329, allocations: 76.81 kB / 1.497 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.5331, allocations: 39.86 kB / 1.497 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.5331, allocations: 38.55 kB / 1.497 GB, free: 15.29 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.5331, allocations: 0 / 1.497 GB, free: 15.29 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.0006232/0.5337, allocations: 221.4 kB / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.5338, allocations: 59.34 kB / 1.497 GB, free: 15 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.5341, allocations: 324.4 kB / 1.498 GB, free: 14.67 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.5341, allocations: 29.7 kB / 1.498 GB, free: 14.63 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.5342, allocations: 204 kB / 1.498 GB, free: 14.43 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.5343, allocations: 35.69 kB / 1.498 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.5343, allocations: 53.66 kB / 1.498 GB, free: 14.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5345, allocations: 338.8 kB / 1.498 GB, free: 14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.5346, allocations: 60.81 kB / 1.498 GB, free: 13.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.5349, allocations: 197.1 kB / 1.499 GB, free: 13.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.5353, allocations: 237.4 kB / 1.499 GB, free: 13.4 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5353, allocations: 0 / 1.499 GB, free: 13.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004456/0.5357, allocations: 253.2 kB / 1.499 GB, free: 13.14 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5357, allocations: 8 kB / 1.499 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5357, allocations: 7.984 kB / 1.499 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5358, allocations: 4 kB / 1.499 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.5359, allocations: 43.92 kB / 1.499 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.5359, allocations: 11.92 kB / 1.499 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.5362, allocations: 44.05 kB / 1.499 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5362, allocations: 16 kB / 1.499 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002306/0.5364, allocations: 173 kB / 1.499 GB, free: 12.84 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002331/0.5367, allocations: 190.6 kB / 1.5 GB, free: 12.59 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003309/0.537, allocations: 233.6 kB / 1.5 GB, free: 12.32 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.537, allocations: 0 / 1.5 GB, free: 12.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004372/0.5374, allocations: 257.2 kB / 1.5 GB, free: 12.06 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.5374, allocations: 7.938 kB / 1.5 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5374, allocations: 4 kB / 1.5 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.5375, allocations: 8 kB / 1.5 GB, free: 12.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5376, allocations: 43.91 kB / 1.5 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.5376, allocations: 11.94 kB / 1.5 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5378, allocations: 23.92 kB / 1.5 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.5378, allocations: 12.25 kB / 1.5 GB, free: 11.95 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.0001163/0.538, allocations: 200.2 kB / 1.5 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.538, allocations: 35.73 kB / 1.5 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.5384, allocations: 164.4 kB / 1.501 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5384, allocations: 4 kB / 1.501 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5384, allocations: 0 / 1.501 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.5384, allocations: 0 / 1.501 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.5393, allocations: 0.5851 MB / 1.501 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5393, allocations: 11.94 kB / 1.501 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5394, allocations: 23.98 kB / 1.501 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5394, allocations: 4 kB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5394, allocations: 4 kB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5394, allocations: 0 / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5394, allocations: 7.938 kB / 1.501 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.5398, allocations: 305.2 kB / 1.501 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.5399, allocations: 35.8 kB / 1.501 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.5399, allocations: 8 kB / 1.502 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5401, allocations: 15.98 kB / 1.502 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.5401, allocations: 15.86 kB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5401, allocations: 4 kB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002201/0.5403, allocations: 227 kB / 1.502 GB, free: 10.2 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5403, allocations: 0 / 1.502 GB, free: 10.2 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005436/0.5409, allocations: 139.8 kB / 1.502 GB, free: 10.06 MB / 1.201 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.0003481/0.5412, allocations: 165.8 kB / 1.502 GB, free: 9.902 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005398/0.5418, allocations: 249 kB / 1.502 GB, free: 9.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5418, allocations: 0 / 1.502 GB, free: 9.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.5419, allocations: 63.84 kB / 1.502 GB, free: 9.598 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.5426, allocations: 121.7 kB / 1.502 GB, free: 9.48 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.5434, allocations: 0.4971 MB / 1.503 GB, free: 8.934 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.5438, allocations: 0.7756 MB / 1.504 GB, free: 8.129 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.544, allocations: 87.55 kB / 1.504 GB, free: 8.043 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.544, allocations: 23.44 kB / 1.504 GB, free: 8.02 MB / 1.201 GB Notification: Performance of SimCode: time 2.9e-07/0.544, allocations: 0 / 1.504 GB, free: 8.02 MB / 1.201 GB Notification: Performance of Templates: time 0.009492/0.5535, allocations: 5.067 MB / 1.509 GB, free: 3.027 MB / 1.201 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: 8.279846030287445]