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.001385/0.001385, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001771/0.001771, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.751/2.751, allocations: 476.8 MB / 0.7714 GB, free: 4.281 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: 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.002024/0.002024, allocations: 64.25 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3622, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003375/0.3656, allocations: 1.699 MB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3678, allocations: 1.395 MB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.3679, allocations: 0 / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3682, allocations: 27.78 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.3686, allocations: 111.5 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.369, allocations: 143.3 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.3693, allocations: 241.5 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3694, allocations: 15.98 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3695, allocations: 91.75 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.3698, allocations: 95.7 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.3698, allocations: 20 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.37, allocations: 119.9 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3701, allocations: 83.75 kB / 1.289 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3703, allocations: 107.3 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.3707, allocations: 334.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3707, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3707, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3707, allocations: 0 / 1.289 GB, free: 6.762 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.0008243/0.3715, allocations: 0.4937 MB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3716, allocations: 8.031 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.3717, allocations: 28.75 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.372, allocations: 209.1 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.372, allocations: 12.38 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.372, allocations: 20.38 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.3724, allocations: 222.4 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3724, allocations: 3.938 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3724, allocations: 11.98 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3724, allocations: 4 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.3733, allocations: 0.7295 MB / 1.291 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.3742, allocations: 0.5618 MB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.3747, allocations: 279.7 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3749, allocations: 89.38 kB / 1.292 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.3749, allocations: 28.23 kB / 1.292 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.3753, allocations: 176.8 kB / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.3753, allocations: 7.938 kB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0007254/0.376, allocations: 366.7 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.3761, allocations: 136.5 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3764, allocations: 312.9 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3765, allocations: 29.7 kB / 1.293 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.3765, allocations: 120.8 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3767, allocations: 123 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.3768, allocations: 65.69 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3769, allocations: 354.7 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3771, allocations: 79.95 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3773, allocations: 123.3 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.3776, allocations: 219.5 kB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3776, allocations: 0 / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004599/0.3781, allocations: 277.1 kB / 1.294 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3781, allocations: 10.5 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3781, allocations: 4 kB / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3781, allocations: 0 / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3784, allocations: 59.91 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3784, allocations: 0 / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3785, allocations: 31.81 kB / 1.294 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.3786, allocations: 12 kB / 1.294 GB, free: 1.395 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.0001758/0.3787, allocations: 166.3 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.3788, allocations: 27.81 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/0.3795, allocations: 381.1 kB / 1.295 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3795, allocations: 4 kB / 1.295 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3795, allocations: 4 kB / 1.295 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3795, allocations: 7.922 kB / 1.295 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.3799, allocations: 308.4 kB / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.3799, allocations: 0 / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.38, allocations: 55.91 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.38, allocations: 4 kB / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3801, allocations: 11.98 kB / 1.295 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3801, allocations: 3.938 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3801, allocations: 0 / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3805, allocations: 326.1 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.3807, allocations: 67.69 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3807, allocations: 11.94 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3809, allocations: 15.98 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.3809, allocations: 23.95 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.381, allocations: 11.94 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002393/0.3812, allocations: 244.4 kB / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3812, allocations: 0 / 1.296 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003291/0.3815, allocations: 75.86 kB / 1.296 GB, free: 15.6 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.001602/0.3831, allocations: 458.3 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3836, allocations: 224.3 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3836, allocations: 0 / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3838, allocations: 123.8 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3841, allocations: 38.86 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009352/0.385, allocations: 0.5373 MB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3854, allocations: 0.7656 MB / 1.298 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3855, allocations: 55.41 kB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3855, allocations: 0 / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.007771/0.3933, allocations: 4.603 MB / 1.302 GB, free: 8.918 MB / 0.9981 GB " [Timeout remaining time 299] 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/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: 11.905817792983726]