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.001747/0.001747, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002093/0.002093, allocations: 218.3 kB / 23.04 MB, free: 5.078 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.744/2.744, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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.002114/0.002114, allocations: 62.84 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3742, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003811/0.378, allocations: 1.727 MB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.3803, allocations: 1.398 MB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3804, allocations: 0 / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3807, allocations: 39.72 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.381, allocations: 99.53 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.3815, allocations: 152 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.3819, allocations: 265.4 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.382, allocations: 9.594 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3821, allocations: 95.8 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.3824, allocations: 101.6 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.3825, allocations: 20 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.3827, allocations: 131.9 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3828, allocations: 79.81 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.383, allocations: 107.3 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.3835, allocations: 342.8 kB / 1.289 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3835, allocations: 0 / 1.289 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3835, allocations: 0 / 1.289 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.3835, allocations: 0 / 1.289 GB, free: 7.207 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.0008632/0.3843, allocations: 0.4975 MB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3844, allocations: 16.03 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.037e-05/0.3844, allocations: 8.172 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.3845, allocations: 50.73 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.3846, allocations: 32.75 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.3849, allocations: 209.1 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3849, allocations: 12.38 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3849, allocations: 20.12 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.3853, allocations: 222.2 kB / 1.29 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3853, allocations: 3.984 kB / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3854, allocations: 8 kB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3854, allocations: 4 kB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009437/0.3863, allocations: 0.7334 MB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.3873, allocations: 0.5616 MB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.3877, allocations: 220.7 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3878, allocations: 96.81 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.3879, allocations: 15.97 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.3883, allocations: 169.5 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.3883, allocations: 0 / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0007285/0.389, allocations: 371.2 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/0.3891, allocations: 136.5 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.3895, allocations: 320.9 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.3895, allocations: 29.7 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3896, allocations: 128.7 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3897, allocations: 119 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3898, allocations: 69.64 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.39, allocations: 338.8 kB / 1.293 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3901, allocations: 79.95 kB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3903, allocations: 124.4 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.3906, allocations: 204.7 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3906, allocations: 0 / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004686/0.3911, allocations: 277.8 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3911, allocations: 8 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3911, allocations: 3.938 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3912, allocations: 0 / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3914, allocations: 63.91 kB / 1.294 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3914, allocations: 3.938 kB / 1.294 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3915, allocations: 35.77 kB / 1.294 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.3916, allocations: 8 kB / 1.294 GB, free: 1.84 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.0001737/0.3917, allocations: 169.7 kB / 1.294 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.3918, allocations: 23.86 kB / 1.294 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/0.3925, allocations: 380.7 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3925, allocations: 0 / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3925, allocations: 7.938 kB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3925, allocations: 0 / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.3929, allocations: 304.4 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3929, allocations: 0 / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.393, allocations: 59.91 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.393, allocations: 0 / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.393, allocations: 11.98 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3931, allocations: 8 kB / 1.295 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3931, allocations: 3.938 kB / 1.295 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.3935, allocations: 314.3 kB / 1.295 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3937, allocations: 63.73 kB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.3937, allocations: 11.98 kB / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3939, allocations: 26.94 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.394, allocations: 23.89 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.394, allocations: 16 kB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002441/0.3942, allocations: 244.4 kB / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3942, allocations: 0 / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003244/0.3946, allocations: 71.86 kB / 1.295 GB, free: 60 kB / 0.9825 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.002292/0.3969, allocations: 1.208 MB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.3973, allocations: 219.8 kB / 1.297 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3973, allocations: 0 / 1.297 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3975, allocations: 120.7 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3978, allocations: 36.89 kB / 1.297 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.4012, allocations: 2.483 MB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.4017, allocations: 0.7657 MB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003619/0.4021, allocations: 142.8 kB / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4022, allocations: 91.39 kB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/0.4022, allocations: 4 kB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.4458, allocations: 6.328 MB / 1.306 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.03, allocations: 8.672 kB / 1.306 GB, free: 4.766 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.17086306400597]