Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001893/0.001893, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002493/0.002493, allocations: 217.6 kB / 22.25 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.953 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.211/3.211, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [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.001979/0.001979, allocations: 70.39 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3543, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003382/0.3577, allocations: 1.718 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.36, allocations: 1.406 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.3601, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3603, allocations: 27.78 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.3607, allocations: 115.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.3612, allocations: 146.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.3616, allocations: 261.5 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3617, allocations: 17.58 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3618, allocations: 91.75 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3621, allocations: 103.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.3622, allocations: 20 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.3624, allocations: 131.9 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3625, allocations: 79.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3627, allocations: 115.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.3632, allocations: 334.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3632, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3632, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.3632, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009718/0.3642, allocations: 0.4975 MB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3642, allocations: 12.03 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.3643, allocations: 54.67 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.3644, allocations: 28.75 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3647, allocations: 217.1 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3648, allocations: 12.38 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3648, allocations: 12.38 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.3652, allocations: 225 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3652, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.3652, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3652, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.3661, allocations: 0.7451 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009753/0.3671, allocations: 0.5538 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3675, allocations: 211.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3676, allocations: 96.75 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.3677, allocations: 23.97 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.3681, allocations: 169.5 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.3681, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007205/0.3688, allocations: 370.6 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.3689, allocations: 132.5 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.3693, allocations: 320.8 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.3693, allocations: 37.7 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.3694, allocations: 132.7 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3696, allocations: 111.1 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.3697, allocations: 69.64 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3698, allocations: 334.8 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.37, allocations: 75.95 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3702, allocations: 123.4 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3705, allocations: 214.3 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3705, allocations: 0 / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004647/0.371, allocations: 273.3 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.371, allocations: 4 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.371, allocations: 4 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.371, allocations: 0 / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3712, allocations: 59.91 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3712, allocations: 3.938 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.3714, allocations: 35.7 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3714, allocations: 19.98 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001811/0.3716, allocations: 153.8 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.3716, allocations: 23.86 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.3724, allocations: 384.8 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3724, allocations: 4 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3724, allocations: 3.938 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3724, allocations: 0 / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.3728, allocations: 308.5 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3728, allocations: 7.969 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.373, allocations: 55.92 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.373, allocations: 4 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.373, allocations: 15.98 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.373, allocations: 0 / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.373, allocations: 7.938 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.3735, allocations: 313.8 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3737, allocations: 63.73 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3737, allocations: 8 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3739, allocations: 15.98 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.3739, allocations: 35.83 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.3739, allocations: 8 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003369/0.3743, allocations: 244.4 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3743, allocations: 0 / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003337/0.3746, allocations: 79.86 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00255/0.3772, allocations: 1.207 MB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.3777, allocations: 211.8 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3777, allocations: 4 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.3779, allocations: 115.8 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.3782, allocations: 41.61 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.3816, allocations: 2.496 MB / 1.341 GB, free: 2.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.382, allocations: 0.7535 MB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.3824, allocations: 150.8 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3826, allocations: 91.39 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3826, allocations: 0 / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.4213, allocations: 6.308 MB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 10.48 kB / 1.348 GB, free: 10.91 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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: 18.909855351084843]