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.001788/0.001788, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002276/0.002276, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.008 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.339/3.339, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002086/0.002086, allocations: 70.48 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3971, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003273/0.4004, allocations: 1.716 MB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.4026, allocations: 1.399 MB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.4027, allocations: 0 / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.4029, allocations: 27.78 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.4033, allocations: 111.5 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.4037, allocations: 152.2 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.4041, allocations: 257.5 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4042, allocations: 17.58 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.4043, allocations: 95.75 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.4046, allocations: 95.77 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.4046, allocations: 19.94 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.4049, allocations: 139.8 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.405, allocations: 75.81 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.4051, allocations: 111.3 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.4055, allocations: 342.6 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4056, allocations: 4 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4056, allocations: 0 / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.4056, allocations: 0 / 1.357 GB, free: 3.902 MB / 1.045 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.0008436/0.4064, allocations: 0.4936 MB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4064, allocations: 8.031 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.4065, allocations: 54.73 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.4066, allocations: 24.8 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4069, allocations: 225 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4069, allocations: 16.38 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.407, allocations: 16.38 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.4073, allocations: 228.4 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4073, allocations: 0 / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.4074, allocations: 4 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4074, allocations: 7.984 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.4083, allocations: 0.7373 MB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.4093, allocations: 0.554 MB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.4096, allocations: 207.4 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.4098, allocations: 92.8 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.4098, allocations: 19.97 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003822/0.4102, allocations: 169.5 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.4102, allocations: 4 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0007027/0.4109, allocations: 370.5 kB / 1.36 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.411, allocations: 136.5 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.4114, allocations: 320.9 kB / 1.361 GB, free: 56 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4114, allocations: 33.7 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.4115, allocations: 120.8 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4116, allocations: 119 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4117, allocations: 65.67 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4119, allocations: 342.8 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.412, allocations: 75.95 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.4122, allocations: 119.4 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.4126, allocations: 206.4 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4126, allocations: 0 / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004607/0.413, allocations: 277.3 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.413, allocations: 10.12 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.413, allocations: 8 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4131, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.4133, allocations: 63.91 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.4133, allocations: 3.938 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.4135, allocations: 31.77 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.4135, allocations: 8 kB / 1.362 GB, free: 14.56 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.0001753/0.4137, allocations: 166.3 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.4137, allocations: 31.8 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.4144, allocations: 376.9 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4144, allocations: 4 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.4144, allocations: 11.92 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4144, allocations: 4 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.4148, allocations: 308.4 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4148, allocations: 0 / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.4149, allocations: 55.91 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4149, allocations: 0 / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.415, allocations: 8 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.415, allocations: 3.984 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.415, allocations: 7.938 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.4155, allocations: 321.7 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.4156, allocations: 59.73 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.4156, allocations: 8 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4158, allocations: 19.98 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.4159, allocations: 23.89 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.4159, allocations: 15.98 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002426/0.4161, allocations: 244.4 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4161, allocations: 0 / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003304/0.4165, allocations: 83.81 kB / 1.364 GB, free: 12.76 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.00231/0.4188, allocations: 1.21 MB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.4192, allocations: 215.8 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4192, allocations: 0 / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.4194, allocations: 115.8 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4197, allocations: 47.88 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.423, allocations: 2.484 MB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.4234, allocations: 0.7613 MB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000347/0.4237, allocations: 146.9 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.4239, allocations: 95.33 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of SimCode: time 1.202e-06/0.4239, allocations: 0 / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.4605, allocations: 6.291 MB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.29, allocations: 9.25 kB / 1.375 GB, free: 1.484 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/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] "Error: Could not read variable chePre.PIn in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv. Warning: Get data of variable chePre.PIn from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.503906025000106]