Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001567/0.001567, 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.001802/0.001802, allocations: 215.5 kB / 22.25 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.797 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.957/2.957, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [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.002494/0.002494, allocations: 65.61 kB / 1.117 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3858, allocations: 169.9 MB / 1.283 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003523/0.3893, allocations: 1.663 MB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3918, allocations: 1.36 MB / 1.286 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3919, allocations: 3.938 kB / 1.286 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.3922, allocations: 31.84 kB / 1.286 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.3927, allocations: 111.4 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.3932, allocations: 136.6 kB / 1.286 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.3936, allocations: 245.6 kB / 1.286 GB, free: 244 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3937, allocations: 19.92 kB / 1.286 GB, free: 224 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3939, allocations: 83.77 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3942, allocations: 87.7 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3942, allocations: 20 kB / 1.287 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.3946, allocations: 119.9 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3947, allocations: 79.73 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3949, allocations: 83.52 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.3955, allocations: 338.7 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3955, allocations: 0 / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3955, allocations: 4 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3955, allocations: 0 / 1.287 GB, free: 15.42 MB / 0.9981 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.00107/0.3966, allocations: 0.4897 MB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3966, allocations: 12.03 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3967, allocations: 28.75 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.3971, allocations: 213.1 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3971, allocations: 8.375 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3972, allocations: 20.36 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.3977, allocations: 299.5 kB / 1.288 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3977, allocations: 0 / 1.288 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.3977, allocations: 12 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3977, allocations: 4 kB / 1.288 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.3986, allocations: 0.6865 MB / 1.289 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.3996, allocations: 492 kB / 1.289 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.4001, allocations: 284.3 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4003, allocations: 89.38 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.4003, allocations: 24.2 kB / 1.29 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.4007, allocations: 176.9 kB / 1.29 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.4007, allocations: 0 / 1.29 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007662/0.4015, allocations: 366.8 kB / 1.29 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.4015, allocations: 136.5 kB / 1.29 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.4019, allocations: 312.9 kB / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4019, allocations: 33.7 kB / 1.291 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.402, allocations: 128.7 kB / 1.291 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.4022, allocations: 123 kB / 1.291 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4023, allocations: 61.69 kB / 1.291 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4024, allocations: 342.8 kB / 1.291 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.4026, allocations: 83.89 kB / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.4028, allocations: 196.5 kB / 1.292 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.4032, allocations: 223.5 kB / 1.292 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4032, allocations: 0 / 1.292 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004999/0.4037, allocations: 277.1 kB / 1.292 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4037, allocations: 11.98 kB / 1.292 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4037, allocations: 0 / 1.292 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4037, allocations: 3.938 kB / 1.292 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.404, allocations: 63.91 kB / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.404, allocations: 0 / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.4041, allocations: 23.88 kB / 1.292 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.4042, allocations: 12 kB / 1.292 GB, free: 10.02 MB / 0.9981 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.0001773/0.4043, allocations: 169.7 kB / 1.292 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.4044, allocations: 27.81 kB / 1.292 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.4051, allocations: 393.1 kB / 1.293 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4051, allocations: 4 kB / 1.293 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4052, allocations: 0 / 1.293 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4052, allocations: 0 / 1.293 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.4054, allocations: 237 kB / 1.293 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4055, allocations: 0 / 1.293 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.4056, allocations: 59.91 kB / 1.293 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4056, allocations: 0 / 1.293 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4057, allocations: 8 kB / 1.293 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4057, allocations: 4 kB / 1.293 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4057, allocations: 4 kB / 1.293 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.4062, allocations: 326 kB / 1.293 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4063, allocations: 63.73 kB / 1.294 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.4064, allocations: 8 kB / 1.294 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4065, allocations: 11.98 kB / 1.294 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.4066, allocations: 27.95 kB / 1.294 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.4066, allocations: 19.92 kB / 1.294 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002481/0.4069, allocations: 244.4 kB / 1.294 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4069, allocations: 0 / 1.294 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003469/0.4072, allocations: 75.83 kB / 1.294 GB, free: 8.297 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 (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.001825/0.409, allocations: 494.8 kB / 1.294 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.4095, allocations: 228.2 kB / 1.295 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4095, allocations: 0 / 1.295 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.4097, allocations: 119.8 kB / 1.295 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.41, allocations: 38.86 kB / 1.295 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.4109, allocations: 0.5083 MB / 1.295 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.411, allocations: 147.4 kB / 1.295 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.4114, allocations: 142.9 kB / 1.296 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.4115, allocations: 43.42 kB / 1.296 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.4115, allocations: 0 / 1.296 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of Templates: time 0.008276/0.4198, allocations: 3.536 MB / 1.299 GB, free: 3.23 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.440046330913901]