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.001316/0.001316, allocations: 116.1 kB / 17.17 MB, free: 6 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.001511/0.001511, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.836/2.836, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 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.002102/0.002102, allocations: 73.77 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9983/1, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003397/1.004, allocations: 1.687 MB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002205/1.006, allocations: 1.312 MB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/1.006, allocations: 1.125 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000239/1.006, allocations: 25.3 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/1.007, allocations: 105.9 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/1.007, allocations: 138.4 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00039/1.008, allocations: 247.8 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.008, allocations: 13.78 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/1.008, allocations: 83.67 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/1.008, allocations: 103.4 kB / 1.283 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/1.008, allocations: 18.09 kB / 1.283 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/1.008, allocations: 129.3 kB / 1.283 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/1.009, allocations: 84.39 kB / 1.283 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/1.009, allocations: 103.9 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/1.009, allocations: 332.6 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/1.009, allocations: 5.438 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.009, allocations: 0 / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.009, allocations: 0 / 1.283 GB, free: 9.008 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.0008978/1.01, allocations: 0.5527 MB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.01, allocations: 9.234 kB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.483e-05/1.01, allocations: 12.22 kB / 1.284 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/1.01, allocations: 49.28 kB / 1.284 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/1.01, allocations: 29.53 kB / 1.284 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.011, allocations: 277.4 kB / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/1.011, allocations: 11.19 kB / 1.284 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.011, allocations: 18.19 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/1.011, allocations: 219.5 kB / 1.284 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.011, allocations: 0 / 1.284 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/1.011, allocations: 5.312 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.011, allocations: 4.031 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/1.012, allocations: 0.7457 MB / 1.285 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.013, allocations: 0.5754 MB / 1.286 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/1.014, allocations: 283 kB / 1.286 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/1.014, allocations: 95.53 kB / 1.286 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/1.014, allocations: 21.98 kB / 1.286 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/1.014, allocations: 177.7 kB / 1.286 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/1.014, allocations: 0 / 1.286 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007554/1.015, allocations: 364 kB / 1.287 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/1.015, allocations: 135.3 kB / 1.287 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/1.016, allocations: 321.4 kB / 1.287 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/1.016, allocations: 36.36 kB / 1.287 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.016, allocations: 128.7 kB / 1.287 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.016, allocations: 122.7 kB / 1.287 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.016, allocations: 62.03 kB / 1.287 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.016, allocations: 339.4 kB / 1.288 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/1.016, allocations: 80.89 kB / 1.288 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/1.016, allocations: 122.3 kB / 1.288 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/1.017, allocations: 219.9 kB / 1.288 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.017, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000508/1.017, allocations: 284.8 kB / 1.288 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.017, allocations: 5.844 kB / 1.288 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.017, allocations: 0 / 1.288 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.017, allocations: 1.094 kB / 1.288 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/1.018, allocations: 61.25 kB / 1.288 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.018, allocations: 5.156 kB / 1.288 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.018, allocations: 35.59 kB / 1.288 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.018, allocations: 10.44 kB / 1.288 GB, free: 5.922 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.0001928/1.018, allocations: 166.3 kB / 1.289 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/1.018, allocations: 28.62 kB / 1.289 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007649/1.019, allocations: 381.7 kB / 1.289 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.019, allocations: 4.672 kB / 1.289 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.019, allocations: 7.922 kB / 1.289 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.019, allocations: 1.594 kB / 1.289 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/1.019, allocations: 333.9 kB / 1.289 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.019, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/1.019, allocations: 56.7 kB / 1.289 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.019, allocations: 1.156 kB / 1.289 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.019, allocations: 11.33 kB / 1.289 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.019, allocations: 1.344 kB / 1.289 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.019, allocations: 8.734 kB / 1.289 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/1.02, allocations: 318.9 kB / 1.29 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/1.02, allocations: 143.3 kB / 1.29 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/1.02, allocations: 6.156 kB / 1.29 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/1.02, allocations: 18.55 kB / 1.29 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/1.02, allocations: 28.86 kB / 1.29 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.02, allocations: 10.69 kB / 1.29 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002647/1.021, allocations: 247 kB / 1.29 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.021, allocations: 0 / 1.29 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003931/1.021, allocations: 78.94 kB / 1.29 GB, free: 4.867 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.002442/1.024, allocations: 1.214 MB / 1.291 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000506/1.024, allocations: 220 kB / 1.292 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.024, allocations: 0 / 1.292 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.024, allocations: 119.6 kB / 1.292 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/1.025, allocations: 34.98 kB / 1.292 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/1.028, allocations: 2.52 MB / 1.294 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/1.029, allocations: 0.7553 MB / 1.295 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003762/1.029, allocations: 148.8 kB / 1.295 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/1.029, allocations: 99.38 kB / 1.295 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.029, allocations: 0 / 1.295 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/1.059, allocations: 6.049 MB / 1.301 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.83, allocations: 9.453 kB / 1.301 GB, free: 0.543 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.326245945994742]