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.001845/0.001845, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002367/0.002367, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.496/1.496, allocations: 230.6 MB / 256.8 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.969/2.969, allocations: 476.8 MB / 0.7715 GB, free: 3.859 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: "" <> 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.002086/0.002086, allocations: 63.09 kB / 1.118 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.389, allocations: 169.9 MB / 1.284 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003648/0.3926, allocations: 1.664 MB / 1.286 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.395, allocations: 1.356 MB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3951, allocations: 4 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.3954, allocations: 31.77 kB / 1.287 GB, free: 260 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.3959, allocations: 99.55 kB / 1.287 GB, free: 160 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.3964, allocations: 144.1 kB / 1.287 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.3967, allocations: 249.5 kB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3968, allocations: 23.91 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.397, allocations: 79.83 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3972, allocations: 95.7 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.3972, allocations: 16 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.3975, allocations: 123.9 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3976, allocations: 79.81 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3978, allocations: 87.52 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.3984, allocations: 338.6 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3984, allocations: 0 / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3984, allocations: 4 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3984, allocations: 0 / 1.288 GB, free: 14.95 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.001071/0.3995, allocations: 0.4897 MB / 1.289 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3995, allocations: 12.03 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.685e-05/0.3995, allocations: 4.188 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.3996, allocations: 54.73 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.3997, allocations: 28.75 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.4, allocations: 209.1 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4001, allocations: 12.38 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.4001, allocations: 20.12 kB / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.4006, allocations: 299.4 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4006, allocations: 0 / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.4006, allocations: 11.94 kB / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4006, allocations: 4 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009886/0.4016, allocations: 0.7373 MB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.4026, allocations: 0.519 MB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.4031, allocations: 280.8 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4033, allocations: 93.38 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.4033, allocations: 16.27 kB / 1.291 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.4038, allocations: 176.9 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.4038, allocations: 0 / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007861/0.4045, allocations: 370.7 kB / 1.292 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4046, allocations: 132.5 kB / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.405, allocations: 320.9 kB / 1.292 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.4051, allocations: 29.7 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4052, allocations: 132.7 kB / 1.292 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4053, allocations: 115 kB / 1.292 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.4054, allocations: 61.69 kB / 1.292 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4056, allocations: 338.8 kB / 1.293 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4057, allocations: 79.95 kB / 1.293 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.406, allocations: 208.5 kB / 1.293 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.4063, allocations: 211.6 kB / 1.293 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4063, allocations: 3.938 kB / 1.293 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000489/0.4068, allocations: 289.1 kB / 1.293 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4068, allocations: 4 kB / 1.293 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4068, allocations: 4 kB / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4068, allocations: 0 / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.4071, allocations: 63.91 kB / 1.293 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4071, allocations: 3.938 kB / 1.293 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4073, allocations: 27.81 kB / 1.294 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.4073, allocations: 12 kB / 1.294 GB, free: 9.375 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.0001856/0.4075, allocations: 161.8 kB / 1.294 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4076, allocations: 35.8 kB / 1.294 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007472/0.4083, allocations: 385.2 kB / 1.294 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4083, allocations: 4 kB / 1.294 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4083, allocations: 3.938 kB / 1.294 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4083, allocations: 0 / 1.294 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.4087, allocations: 268.5 kB / 1.294 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4087, allocations: 0 / 1.294 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.4089, allocations: 59.91 kB / 1.294 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4089, allocations: 4 kB / 1.294 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4089, allocations: 8 kB / 1.294 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4089, allocations: 7.984 kB / 1.294 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4089, allocations: 3.938 kB / 1.294 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.4094, allocations: 322 kB / 1.295 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4096, allocations: 63.73 kB / 1.295 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.4096, allocations: 4 kB / 1.295 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4098, allocations: 19.98 kB / 1.295 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.4098, allocations: 27.89 kB / 1.295 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.4099, allocations: 15.98 kB / 1.295 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002542/0.4101, allocations: 240.4 kB / 1.295 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4101, allocations: 0 / 1.295 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004077/0.4105, allocations: 79.83 kB / 1.295 GB, free: 7.613 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.002624/0.4131, allocations: 1.252 MB / 1.296 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.4136, allocations: 215.8 kB / 1.297 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4136, allocations: 4 kB / 1.297 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4138, allocations: 123.8 kB / 1.297 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4141, allocations: 38.61 kB / 1.297 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.4174, allocations: 2.503 MB / 1.299 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.4176, allocations: 151.6 kB / 1.299 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.4179, allocations: 146.8 kB / 1.299 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.4181, allocations: 99.33 kB / 1.3 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of SimCode: time 6.12e-07/0.4181, allocations: 4 kB / 1.3 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.4503, allocations: 6.327 MB / 1.306 GB, free: 12.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.4, allocations: 11.98 kB / 1.306 GB, free: 12.9 MB / 1.014 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: 19.433916990994476]