Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001753/0.001753, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001524/0.001524, allocations: 208.8 kB / 22.24 MB, free: 5.262 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 3.326/3.326, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_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.002016/0.002016, allocations: 60.84 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003695/0.3536, allocations: 1.688 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3559, allocations: 1.368 MB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.356, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.3563, allocations: 27.78 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.3567, allocations: 111.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.3572, allocations: 149.9 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.3576, allocations: 261.5 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3577, allocations: 17.59 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3578, allocations: 91.75 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3581, allocations: 87.7 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.3581, allocations: 20 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.3584, allocations: 115.9 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3585, allocations: 95.67 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3586, allocations: 87.52 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.3592, allocations: 338.6 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3592, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3592, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3592, allocations: 7.984 kB / 1.368 GB, free: 9.645 MB / 1.061 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.0008515/0.36, allocations: 497.5 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3601, allocations: 12.03 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.3601, allocations: 50.73 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.3602, allocations: 32.75 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.3605, allocations: 221 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3606, allocations: 8.375 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3606, allocations: 16.38 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.361, allocations: 335.2 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3611, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3611, allocations: 8 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3611, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.362, allocations: 0.6865 MB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.3629, allocations: 0.5189 MB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.3633, allocations: 204.5 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3635, allocations: 92.81 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.3635, allocations: 15.98 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.3639, allocations: 203.1 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.3639, allocations: 4 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0007108/0.3646, allocations: 366.6 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.3647, allocations: 132.5 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.3651, allocations: 320.9 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3651, allocations: 33.7 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.3652, allocations: 128.7 kB / 1.371 GB, free: 5.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3653, allocations: 115.1 kB / 1.372 GB, free: 5.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3654, allocations: 65.69 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3656, allocations: 334.8 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3657, allocations: 75.95 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.366, allocations: 201.5 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.3663, allocations: 217.2 kB / 1.372 GB, free: 4.547 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3663, allocations: 4 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004657/0.3668, allocations: 265.4 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3668, allocations: 11.94 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3668, allocations: 0 / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3668, allocations: 0 / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.3671, allocations: 67.91 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3671, allocations: 3.938 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3672, allocations: 31.75 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.3672, allocations: 15.98 kB / 1.373 GB, free: 4.148 MB / 1.061 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.0001668/0.3674, allocations: 162.4 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.3675, allocations: 31.81 kB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/0.3682, allocations: 380.9 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3682, allocations: 4 kB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3682, allocations: 3.938 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3682, allocations: 0 / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.3685, allocations: 272.5 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3685, allocations: 0 / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3687, allocations: 55.91 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3687, allocations: 4 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3687, allocations: 11.98 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3687, allocations: 0 / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3687, allocations: 7.938 kB / 1.374 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.3692, allocations: 317.8 kB / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3694, allocations: 67.69 kB / 1.374 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.3694, allocations: 11.98 kB / 1.374 GB, free: 2.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3696, allocations: 15.98 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.3697, allocations: 27.89 kB / 1.374 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3697, allocations: 8 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002787/0.37, allocations: 244.4 kB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.37, allocations: 4 kB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003299/0.3703, allocations: 75.86 kB / 1.374 GB, free: 2.398 MB / 1.061 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.002487/0.3728, allocations: 1.241 MB / 1.376 GB, free: 1.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.3732, allocations: 211.8 kB / 1.376 GB, free: 1.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3732, allocations: 0 / 1.376 GB, free: 1.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3734, allocations: 119.8 kB / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3737, allocations: 41.62 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.377, allocations: 2.488 MB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3772, allocations: 150.9 kB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.3775, allocations: 150.8 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3777, allocations: 91.39 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of SimCode: time 6.12e-07/0.3777, allocations: 4 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0384/0.4161, allocations: 6.633 MB / 1.385 GB, free: 7.414 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 6.641 kB / 1.385 GB, free: 7.41 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.7389069609344]