Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001638/0.001638, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002038/0.002038, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002119/0.002119, allocations: 68.48 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3661, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003798/0.3699, allocations: 1.663 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.3724, allocations: 1.36 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.3725, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.3727, allocations: 27.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.3732, allocations: 115.5 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.3736, allocations: 140.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.374, allocations: 245.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3741, allocations: 15.98 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3742, allocations: 75.83 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.3744, allocations: 91.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.3745, allocations: 20 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3747, allocations: 119.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3749, allocations: 83.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.375, allocations: 87.45 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.3756, allocations: 334.6 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3756, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3756, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.3756, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 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.001057/0.3767, allocations: 497.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3767, allocations: 15.97 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.3768, allocations: 28.75 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3772, allocations: 209.1 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3772, allocations: 12.38 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3773, allocations: 16.38 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.3777, allocations: 298.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3777, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3778, allocations: 8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3778, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/0.3787, allocations: 0.6904 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.3795, allocations: 488.1 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.38, allocations: 280.8 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3802, allocations: 97.31 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.3802, allocations: 16.27 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.3806, allocations: 176.9 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.083e-06/0.3806, allocations: 8 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007385/0.3813, allocations: 365.3 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.3814, allocations: 136.5 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3818, allocations: 316.9 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3818, allocations: 29.7 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.3819, allocations: 124.8 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.382, allocations: 122.9 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.3821, allocations: 61.69 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3823, allocations: 346.7 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3824, allocations: 79.95 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3827, allocations: 204.5 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.383, allocations: 217 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.383, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004661/0.3835, allocations: 281.3 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3835, allocations: 6.188 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3835, allocations: 7.984 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3835, allocations: 3.984 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3838, allocations: 67.91 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3838, allocations: 0 / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3839, allocations: 27.81 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.384, allocations: 12 kB / 1.336 GB, free: 7.125 MB / 1.029 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.0001786/0.3842, allocations: 162.4 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.3842, allocations: 35.75 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/0.385, allocations: 378.1 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.385, allocations: 7.984 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.385, allocations: 0 / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.385, allocations: 0 / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3853, allocations: 241 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3853, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.3855, allocations: 59.91 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3855, allocations: 0 / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3855, allocations: 8 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3855, allocations: 0 / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.3856, allocations: 8 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.3861, allocations: 330.2 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3862, allocations: 67.69 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.3863, allocations: 8 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3864, allocations: 11.98 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.3865, allocations: 27.95 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3865, allocations: 15.98 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002548/0.3868, allocations: 236.5 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3868, allocations: 0 / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003548/0.3871, allocations: 79.8 kB / 1.338 GB, free: 5.422 MB / 1.029 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.001798/0.3889, allocations: 491 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.3894, allocations: 227.6 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3894, allocations: 0 / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.3896, allocations: 119.8 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3899, allocations: 34.91 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.3908, allocations: 0.5461 MB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.391, allocations: 150.9 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3911, allocations: 51.41 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.3911, allocations: 0 / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of Templates: time 0.007943/0.399, allocations: 4.675 MB / 1.344 GB, free: 15.29 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.043903180863708]