Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001809/0.001809, allocations: 113 kB / 16.46 MB, free: 6.453 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.002253/0.002253, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.554/1.554, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.273/3.273, allocations: 0.5049 GB / 0.8066 GB, free: 23.07 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.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.00201/0.00201, allocations: 68.53 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3886, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003375/0.392, allocations: 1.681 MB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3941, allocations: 1.312 MB / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.3942, allocations: 0 / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.3945, allocations: 19.8 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.3948, allocations: 115.5 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.3952, allocations: 130.6 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.3955, allocations: 253.5 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3956, allocations: 15.92 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3957, allocations: 79.83 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.396, allocations: 107.6 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.396, allocations: 19.98 kB / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3962, allocations: 123.9 kB / 1.352 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3963, allocations: 83.78 kB / 1.352 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3964, allocations: 111.3 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.3969, allocations: 330.7 kB / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3969, allocations: 0 / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3969, allocations: 3.938 kB / 1.352 GB, free: 5.602 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3969, allocations: 0 / 1.352 GB, free: 5.602 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.0008415/0.3977, allocations: 0.5612 MB / 1.353 GB, free: 4.992 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3978, allocations: 11.98 kB / 1.353 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.3978, allocations: 54.73 kB / 1.353 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.3979, allocations: 28.75 kB / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.3982, allocations: 278.9 kB / 1.353 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3982, allocations: 12.38 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3983, allocations: 16.38 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3986, allocations: 224.4 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3987, allocations: 3.984 kB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3987, allocations: 4 kB / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3987, allocations: 4 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.3996, allocations: 0.7412 MB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.4005, allocations: 0.567 MB / 1.354 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.4009, allocations: 279.6 kB / 1.355 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4011, allocations: 93.38 kB / 1.355 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.4012, allocations: 24.23 kB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.4015, allocations: 176.9 kB / 1.355 GB, free: 2.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.4015, allocations: 0 / 1.355 GB, free: 2.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0007019/0.4022, allocations: 377.2 kB / 1.355 GB, free: 1.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.4023, allocations: 132.5 kB / 1.355 GB, free: 1.824 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.4026, allocations: 312.9 kB / 1.356 GB, free: 1.504 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.4026, allocations: 33.7 kB / 1.356 GB, free: 1.465 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.4027, allocations: 128.7 kB / 1.356 GB, free: 1.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4028, allocations: 119 kB / 1.356 GB, free: 1.219 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.4029, allocations: 65.69 kB / 1.356 GB, free: 1.148 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4031, allocations: 334.8 kB / 1.356 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4032, allocations: 79.95 kB / 1.357 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.4034, allocations: 123.4 kB / 1.357 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.4038, allocations: 218.2 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4038, allocations: 4 kB / 1.357 GB, free: 392 kB / 1.045 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000453/0.4042, allocations: 289.2 kB / 1.357 GB, free: 96 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4042, allocations: 8 kB / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4043, allocations: 0 / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4043, allocations: 0 / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.4045, allocations: 59.91 kB / 1.357 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4045, allocations: 0 / 1.357 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.4046, allocations: 27.81 kB / 1.357 GB, free: 0 / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4047, allocations: 16.05 kB / 1.357 GB, free: 15.98 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 (35): * Single equations (assignments): 35 * 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.000156/0.4049, allocations: 161.7 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.4049, allocations: 39.73 kB / 1.357 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/0.4056, allocations: 374 kB / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4056, allocations: 4 kB / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4056, allocations: 0 / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4056, allocations: 3.938 kB / 1.358 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.406, allocations: 333.3 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.406, allocations: 4 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4062, allocations: 59.91 kB / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4062, allocations: 0 / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.4062, allocations: 11.98 kB / 1.358 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4062, allocations: 4 kB / 1.358 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4062, allocations: 4 kB / 1.358 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.4067, allocations: 326 kB / 1.358 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.4069, allocations: 144.8 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4069, allocations: 11.98 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.407, allocations: 10.11 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.4071, allocations: 31.89 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4071, allocations: 12 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002294/0.4074, allocations: 244.4 kB / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4074, allocations: 0 / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003181/0.4077, allocations: 75.86 kB / 1.359 GB, free: 14.07 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 (34): * Single equations (assignments): 33 * 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.002253/0.4099, allocations: 1.21 MB / 1.36 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.4104, allocations: 224.1 kB / 1.36 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4104, allocations: 0 / 1.36 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.4106, allocations: 123.8 kB / 1.361 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.4108, allocations: 40.3 kB / 1.361 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.4139, allocations: 2.506 MB / 1.363 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4143, allocations: 0.7652 MB / 1.364 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.4146, allocations: 150.8 kB / 1.364 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.4148, allocations: 103.4 kB / 1.364 GB, free: 8.984 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4148, allocations: 0 / 1.364 GB, free: 8.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.4496, allocations: 5.99 MB / 1.37 GB, free: 3.082 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.826, allocations: 9.734 kB / 1.37 GB, free: 3.074 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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: 16.025008277967572]