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.001323/0.001323, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001805/0.001805, allocations: 215 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.849/2.849, allocations: 476.7 MB / 0.7715 GB, free: 4.246 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.LimitMin,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.002035/0.002035, allocations: 66.31 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003117/0.3789, allocations: 1.683 MB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3811, allocations: 1.399 MB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.3812, allocations: 0 / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.3814, allocations: 23.8 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.3819, allocations: 111.5 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.3822, allocations: 134.4 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.3826, allocations: 261.4 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3827, allocations: 12 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3828, allocations: 91.73 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3831, allocations: 99.77 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.3831, allocations: 16 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3833, allocations: 123.9 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3834, allocations: 83.75 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3835, allocations: 103.4 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.384, allocations: 334.8 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.384, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/0.384, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.384, allocations: 0 / 1.288 GB, free: 7.281 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.0008017/0.3848, allocations: 0.4937 MB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3848, allocations: 8.031 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/0.3849, allocations: 8.188 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.3849, allocations: 58.67 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.385, allocations: 28.75 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3853, allocations: 209.1 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3853, allocations: 8.375 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3853, allocations: 20.12 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.3857, allocations: 218.3 kB / 1.29 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3857, allocations: 0 / 1.29 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3857, allocations: 8 kB / 1.29 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3857, allocations: 7.984 kB / 1.29 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.3867, allocations: 0.7373 MB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.3876, allocations: 0.5541 MB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.3881, allocations: 280.1 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3882, allocations: 93.38 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.87e-05/0.3883, allocations: 20.25 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.3887, allocations: 176.9 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3887, allocations: 4 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0006968/0.3894, allocations: 366.7 kB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3895, allocations: 140.4 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3898, allocations: 324.9 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3899, allocations: 29.7 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.39, allocations: 120.8 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3901, allocations: 119 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3902, allocations: 65.69 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3903, allocations: 350.7 kB / 1.293 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3905, allocations: 83.89 kB / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3907, allocations: 119.4 kB / 1.293 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.391, allocations: 219.5 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.391, allocations: 0 / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004662/0.3915, allocations: 281.1 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3915, allocations: 10.34 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3915, allocations: 0 / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3915, allocations: 4 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.3917, allocations: 59.91 kB / 1.294 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3918, allocations: 3.938 kB / 1.294 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.3919, allocations: 27.88 kB / 1.294 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.3919, allocations: 12 kB / 1.294 GB, free: 1.848 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 (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.0001837/0.3921, allocations: 161.7 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3922, allocations: 31.81 kB / 1.294 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007042/0.3929, allocations: 381.2 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3929, allocations: 4 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3929, allocations: 7.938 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.3929, allocations: 3.984 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.3932, allocations: 304.4 kB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3932, allocations: 0 / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3934, allocations: 55.91 kB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3934, allocations: 4 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3934, allocations: 11.98 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3934, allocations: 0 / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3935, allocations: 3.938 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.394, allocations: 326.1 kB / 1.295 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3941, allocations: 71.72 kB / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3941, allocations: 8 kB / 1.295 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3943, allocations: 11.98 kB / 1.295 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.3944, allocations: 31.89 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.3944, allocations: 12 kB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002419/0.3946, allocations: 240.4 kB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3946, allocations: 0 / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003475/0.395, allocations: 79.8 kB / 1.295 GB, free: 56 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 (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.002444/0.3974, allocations: 1.21 MB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.3979, allocations: 219.8 kB / 1.297 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3979, allocations: 0 / 1.297 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.3981, allocations: 119.8 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3984, allocations: 45.94 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.00336/0.4018, allocations: 2.511 MB / 1.299 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.4022, allocations: 0.7542 MB / 1.3 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003473/0.4026, allocations: 150.8 kB / 1.3 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.4028, allocations: 95.39 kB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.4028, allocations: 0 / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.4334, allocations: 6.287 MB / 1.306 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 16.72 kB / 1.306 GB, free: 4.758 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.816110435000155]