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.001765/0.001765, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002122/0.002122, allocations: 221.6 kB / 23 MB, free: 4.914 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.74/2.74, allocations: 476 MB / 0.7707 GB, free: 4.746 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.002138/0.002138, allocations: 65.59 kB / 1.118 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3355, allocations: 169.9 MB / 1.284 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003032/0.3385, allocations: 1.657 MB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3406, allocations: 1.367 MB / 1.287 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.3407, allocations: 4 kB / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3409, allocations: 27.8 kB / 1.287 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.3412, allocations: 107.5 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.3416, allocations: 139.6 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.3419, allocations: 249.5 kB / 1.287 GB, free: 192 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.342, allocations: 15.94 kB / 1.287 GB, free: 176 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3421, allocations: 87.81 kB / 1.287 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3423, allocations: 87.7 kB / 1.287 GB, free: 0 / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3423, allocations: 20.05 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3425, allocations: 115.8 kB / 1.288 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3426, allocations: 79.81 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.3427, allocations: 87.52 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.3431, allocations: 338.6 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3431, allocations: 0 / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3431, allocations: 0 / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3432, allocations: 0 / 1.288 GB, free: 15.37 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.0007839/0.3439, allocations: 0.4936 MB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.344, allocations: 16.03 kB / 1.289 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.344, allocations: 28.75 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3444, allocations: 209.1 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3444, allocations: 8.375 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3444, allocations: 24.36 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.3448, allocations: 291.5 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3448, allocations: 0 / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3449, allocations: 12 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3449, allocations: 4 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.3458, allocations: 0.6865 MB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.3466, allocations: 496.1 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.3471, allocations: 288.2 kB / 1.291 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3472, allocations: 93.38 kB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.3473, allocations: 16.27 kB / 1.291 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.3476, allocations: 176.9 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.3476, allocations: 0 / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0006891/0.3483, allocations: 358.8 kB / 1.291 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.3484, allocations: 144.4 kB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.3487, allocations: 312.9 kB / 1.292 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3488, allocations: 33.7 kB / 1.292 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.3489, allocations: 128.7 kB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.349, allocations: 123 kB / 1.292 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.3491, allocations: 61.69 kB / 1.292 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3492, allocations: 346.7 kB / 1.292 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3494, allocations: 79.95 kB / 1.292 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.3496, allocations: 200.5 kB / 1.292 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.35, allocations: 215.5 kB / 1.293 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.35, allocations: 3.938 kB / 1.293 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004616/0.3504, allocations: 281.1 kB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3504, allocations: 10.03 kB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.3504, allocations: 4 kB / 1.293 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3505, allocations: 0 / 1.293 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3507, allocations: 63.91 kB / 1.293 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3507, allocations: 0 / 1.293 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3508, allocations: 23.88 kB / 1.293 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3509, allocations: 23.98 kB / 1.293 GB, free: 9.953 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.0001621/0.351, allocations: 161.7 kB / 1.293 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.3511, allocations: 27.81 kB / 1.293 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.3518, allocations: 381.2 kB / 1.294 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3518, allocations: 4 kB / 1.294 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3518, allocations: 0 / 1.294 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3518, allocations: 3.984 kB / 1.294 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3521, allocations: 237 kB / 1.294 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3521, allocations: 0 / 1.294 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3522, allocations: 63.91 kB / 1.294 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3523, allocations: 0 / 1.294 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.3523, allocations: 11.98 kB / 1.294 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3523, allocations: 4 kB / 1.294 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3523, allocations: 0 / 1.294 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.3528, allocations: 326 kB / 1.294 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3529, allocations: 63.73 kB / 1.294 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.353, allocations: 8 kB / 1.294 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3531, allocations: 23.92 kB / 1.294 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.3532, allocations: 23.95 kB / 1.294 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3532, allocations: 12 kB / 1.294 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002342/0.3534, allocations: 240.4 kB / 1.295 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 0 / 1.295 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003132/0.3537, allocations: 79.81 kB / 1.295 GB, free: 8.246 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.00168/0.3554, allocations: 489 kB / 1.295 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.3558, allocations: 220.3 kB / 1.295 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3558, allocations: 0 / 1.295 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.356, allocations: 127.7 kB / 1.295 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3563, allocations: 38.55 kB / 1.296 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.3572, allocations: 0.5451 MB / 1.296 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.3573, allocations: 147.4 kB / 1.296 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3575, allocations: 51.41 kB / 1.296 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3575, allocations: 0 / 1.296 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of Templates: time 0.007443/0.3649, allocations: 4.671 MB / 1.301 GB, free: 2.121 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/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.511451889295131]