Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001573/0.001573, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001938/0.001938, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",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.002049/0.002049, allocations: 66.75 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 170 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003399/0.3232, allocations: 1.677 MB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.3255, allocations: 1.356 MB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.3256, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3258, allocations: 31.78 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.3263, allocations: 115.5 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.3267, allocations: 150.6 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.3271, allocations: 257.5 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3272, allocations: 17.58 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3273, allocations: 95.69 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3276, allocations: 91.77 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.3276, allocations: 20 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.3279, allocations: 115.9 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.328, allocations: 87.75 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3281, allocations: 91.45 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.3287, allocations: 355.7 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3287, allocations: 0 / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3287, allocations: 0 / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3287, allocations: 0 / 1.288 GB, free: 6.098 MB / 0.9825 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.001011/0.3297, allocations: 497.5 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.3298, allocations: 16.02 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.666e-05/0.3298, allocations: 4.188 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.3299, allocations: 54.73 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.33, allocations: 28.75 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3303, allocations: 213.1 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3303, allocations: 12.38 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.3304, allocations: 20.12 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.3309, allocations: 329 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3309, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.3309, allocations: 4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3309, allocations: 4 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.3319, allocations: 0.7334 MB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.3329, allocations: 0.5304 MB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.3332, allocations: 209.3 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3334, allocations: 92.81 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.3334, allocations: 15.98 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.3339, allocations: 203.2 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.3339, allocations: 3.938 kB / 1.291 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0007276/0.3346, allocations: 363.3 kB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.3347, allocations: 136.5 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.3351, allocations: 328.8 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3351, allocations: 33.7 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.3352, allocations: 124.7 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3353, allocations: 111.1 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3354, allocations: 69.69 kB / 1.292 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3356, allocations: 338.8 kB / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3357, allocations: 75.97 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.336, allocations: 209.5 kB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3363, allocations: 204.7 kB / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3363, allocations: 0 / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004745/0.3368, allocations: 281.8 kB / 1.293 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3368, allocations: 4 kB / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3368, allocations: 0 / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3368, allocations: 4 kB / 1.293 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.337, allocations: 59.84 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3371, allocations: 7.938 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3372, allocations: 31.81 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.3373, allocations: 12 kB / 1.294 GB, free: 0.5352 MB / 0.9825 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.000178/0.3374, allocations: 167 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.3375, allocations: 31.8 kB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007433/0.3382, allocations: 368.8 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3382, allocations: 11.92 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3383, allocations: 7.922 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3383, allocations: 0 / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.3386, allocations: 272.5 kB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3386, allocations: 4 kB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.3388, allocations: 51.97 kB / 1.294 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3388, allocations: 8 kB / 1.294 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.3388, allocations: 12 kB / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3388, allocations: 3.938 kB / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3388, allocations: 3.938 kB / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.3393, allocations: 314.4 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3394, allocations: 67.69 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3395, allocations: 8 kB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3397, allocations: 15.98 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3397, allocations: 27.89 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3398, allocations: 23.92 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002415/0.34, allocations: 244.4 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 0 / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003412/0.3403, allocations: 71.88 kB / 1.295 GB, free: 14.77 MB / 0.9981 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.002432/0.3428, allocations: 1.243 MB / 1.296 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.3432, allocations: 215.8 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3432, allocations: 0 / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3434, allocations: 116.7 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.3437, allocations: 44.83 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.347, allocations: 2.491 MB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.3471, allocations: 151.3 kB / 1.299 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003523/0.3475, allocations: 146.9 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.3476, allocations: 91.39 kB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.3476, allocations: 0 / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.3818, allocations: 6.373 MB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.24, allocations: 4.062 kB / 1.306 GB, free: 4.055 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.31727445393335]